diff options
author | Jay Foad <jay.foad@amd.com> | 2022-01-07 12:19:49 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2022-01-08 09:20:44 +0000 |
commit | 50fb44eebb0397f9b5f45a44239d6b53faf07c3b (patch) | |
tree | 1b72f5d2cda0b4b296a42a4040bd1395a95ccb95 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | ff971873b3fcb8f96fdc53f0140257b2c7979ec5 (diff) | |
download | llvm-50fb44eebb0397f9b5f45a44239d6b53faf07c3b.zip llvm-50fb44eebb0397f9b5f45a44239d6b53faf07c3b.tar.gz llvm-50fb44eebb0397f9b5f45a44239d6b53faf07c3b.tar.bz2 |
[GlobalISel] Use getPreferredShiftAmountTy in one more G_UBFX combine
Change CombinerHelper::matchBitfieldExtractFromShrAnd to use
getPreferredShiftAmountTy for the shift-amount-like operands of G_UBFX
just like all the other G_[SU]BFX combines do. This better matches the
AMDGPU legality rules for these instructions.
Differential Revision: https://reviews.llvm.org/D116803
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions