diff options
| author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2020-10-13 17:19:28 -0700 |
|---|---|---|
| committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2020-10-13 17:26:12 -0700 |
| commit | ef3d17482fff105a1c44fccbbe494ccddafa5661 (patch) | |
| tree | 2047bba9ad311f56a9e996545c049966078b4c13 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | cc69d211d0d65d7bf0335fecbc323f784ac3afcc (diff) | |
[GISel] Add combine for constant G_PTR_ADD offsets.
https://reviews.llvm.org/D88865
This adds a single combine for GlobalISel to fold:
ptradd (inttoptr C1) C2
Into:
C1 + C2
Additionally, a small test for AArch64 is added.
Patch by pnappa.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
