aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-08-26 09:33:53 -0700
committerCraig Topper <craig.topper@sifive.com>2021-08-26 10:20:19 -0700
commit1b9417454eda38f27048f9665aedcb6158ce8e9f (patch)
tree6883066662d233dee97122d29ea60ffe6fb3b990 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentabb956370ee71d018e9a88ae196f039f6c4e0dae (diff)
downloadllvm-1b9417454eda38f27048f9665aedcb6158ce8e9f.zip
llvm-1b9417454eda38f27048f9665aedcb6158ce8e9f.tar.gz
llvm-1b9417454eda38f27048f9665aedcb6158ce8e9f.tar.bz2
[RISCV] Insert a sext_inreg when type legalizing i32 shl by constant on RV64.
Similar to what we do for add/sub/mul. This can help remove some sext.w. There are some regressions on some bswap tests, but I have an idea how to fix that for a follow up. A new PACKW pattern is added to handle the new sext_inreg placement. Differential Revision: https://reviews.llvm.org/D108663
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions