aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-08-30 11:59:37 -0700
committerCraig Topper <craig.topper@sifive.com>2022-08-30 12:22:46 -0700
commit893f5e95e254e000222513b5fea1921f1796145c (patch)
treea1fa256eb418e0773ca8b899fa37480133246b21 /clang/lib/Lex
parentfd1f8c85f2c0b989d1ac3a05b920f5b5fa355645 (diff)
downloadllvm-893f5e95e254e000222513b5fea1921f1796145c.zip
llvm-893f5e95e254e000222513b5fea1921f1796145c.tar.gz
llvm-893f5e95e254e000222513b5fea1921f1796145c.tar.bz2
[RISCV] Improve isel of AND with shiftedMask containing 32 leading zeros and some trailing zeros.
We can use srliw to shift out the trailing bits and slli to shift back in zeros. The sign extend of srliw will 0 the upper 32 bits since we will be shifting a 0 into bit 31.
Diffstat (limited to 'clang/lib/Lex')
0 files changed, 0 insertions, 0 deletions