diff options
| author | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-10-13 12:54:59 +0200 |
|---|---|---|
| committer | Mirko Brkusanin <Mirko.Brkusanin@amd.com> | 2020-10-13 13:02:55 +0200 |
| commit | 52ba4fa6aa21953a0d90c0c6e25a3ed95708d08b (patch) | |
| tree | 56ee83633841947b3017a91cf5ab2f27966a6936 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | fb2627d8d21574a0d1a81596d00953075265ac88 (diff) | |
[GlobalISel] Avoid making G_PTR_ADD with nullptr
When the first operand is a null pointer we can avoid making a G_PTR_ADD and
make a G_INTTOPTR with the offset operand.
This helps us avoid making add with 0 later on for targets such as AMDGPU.
Differential Revision: https://reviews.llvm.org/D87140
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
