aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-03-24 23:23:16 -0700
committerCraig Topper <craig.topper@sifive.com>2021-03-25 09:03:25 -0700
commitc40cea6f083a8a67ea950e058e16d37bb04e8c4b (patch)
tree4783797402320e59db2eb51aa99bb27384b3dd68 /flang/lib/Frontend/CompilerInvocation.cpp
parentf5349922c06fec0feec53f9eab90aaaa5fe6ed17 (diff)
downloadllvm-c40cea6f083a8a67ea950e058e16d37bb04e8c4b.zip
llvm-c40cea6f083a8a67ea950e058e16d37bb04e8c4b.tar.gz
llvm-c40cea6f083a8a67ea950e058e16d37bb04e8c4b.tar.bz2
[RISCV] Teach targetShrinkDemandedConstant to preserve (and X, 0xffffffff).
We look for this pattern frequently in isel patterns so its a good idea to try to preserve it. This also let's us remove our special isel handling for srliw and use a direct pattern match of (srl (and X, 0xffffffff), C) since no bits will be removed from the and mask. Differential Revision: https://reviews.llvm.org/D99042
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions