diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-12-28 14:05:40 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-12-28 14:08:25 -0800 |
commit | 1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75 (patch) | |
tree | 97e3dd293239200cbc13ba9f6e1e6c9434a49700 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | cd284b7ac0615afc6e0f1a30da2777e361de27a3 (diff) | |
download | llvm-1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75.zip llvm-1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75.tar.gz llvm-1c6b740d4b1bb8f74c8eb2fa38b21d684d32ca75.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions