[all-commits] [llvm/llvm-project] 1c6b74: [TargetLowering] Remove workaround for old behavio...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Dec 28 14:13:42 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75
https://github.com/llvm/llvm-project/commit/1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-12-28 (Tue, 28 Dec 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[TargetLowering] Remove workaround for old behavior of getShiftAmountTy. NFC
getShiftAmountTy used to directly return the shift amount type from
the target which could be too small for large illegal types. For
example, X86 always returns i8.
The code here detected this and used i32 instead if it won't fit. This
behavior was added to getShiftAmountTy in D112469 so we no longer need
this workaround.
More information about the All-commits
mailing list