diff options
| author | Jay Foad <jay.foad@amd.com> | 2023-07-11 14:26:54 +0100 |
|---|---|---|
| committer | Jay Foad <jay.foad@amd.com> | 2023-07-12 08:12:09 +0100 |
| commit | f7684d85103921047e35b175fffa31536acd9195 (patch) | |
| tree | 2bf639c3f9d463f79dc6e2a687c53e3f11edb87d /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 49364503f621d807c4ee80050ab7a0cdb2b05a60 (diff) | |
| download | llvm-f7684d85103921047e35b175fffa31536acd9195.zip llvm-f7684d85103921047e35b175fffa31536acd9195.tar.gz llvm-f7684d85103921047e35b175fffa31536acd9195.tar.bz2 | |
[DAG] Use legal shift amount type in DAGTypeLegalizer::JoinIntegers
Documentation for TargetLowering::getShiftAmountTy says that LegalTypes
should generally be true during type legalization, so this patch does
that.
On AMDGPU the effect is that we use i32 (a sane type) instead of i64
(pointer sized type) for more shift amounts, which in turn allows more
formation of rotates and funnel shifts pre-legalization.
Differential Revision: https://reviews.llvm.org/D154960
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
