aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-12-21 12:50:10 -0800
committerCraig Topper <craig.topper@sifive.com>2022-12-21 12:56:35 -0800
commit9b227cb1f536829ce109f7334beceb71f804d58b (patch)
tree7d606037a3e98640849fa0be4224cf368196f198 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent9fdf21f3d07d5efafec4334b1b4d200bc7811c05 (diff)
downloadllvm-9b227cb1f536829ce109f7334beceb71f804d58b.zip
llvm-9b227cb1f536829ce109f7334beceb71f804d58b.tar.gz
llvm-9b227cb1f536829ce109f7334beceb71f804d58b.tar.bz2
[RISCV] Check the sign bits of the input of RISCVISD::ABSW in computeNumSignBitsForTargetNode.
We created a SIGN_EXTEND_INREG when we created the ABSW so the input should have 33 sign bits, but check it to be safe.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions