diff options
| author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2022-10-24 08:48:57 +0000 |
|---|---|---|
| committer | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2022-12-09 04:46:45 -0500 |
| commit | 3612d9eaacd0571692f6ed80bd67403bc1ca541e (patch) | |
| tree | 8dded4e51303cab178aed856d17a00151d00bf44 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 3e5f54d6d710b1616a6467bfcd64c0d9e4f42af0 (diff) | |
[GISel] Rework trunc/shl combine in a generic trunc/shift combine
This combine only handled left shifts, but now it can handle right shifts as well. It handles right shifts conservatively and only truncates them to the size returned by TLI.
AMDGPU benefits from always lowering shifts to 32 bits for instance, but AArch64 would rather keep them at 64 bits.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D136319
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
