aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2024-10-16 12:44:09 +0100
committerGitHub <noreply@github.com>2024-10-16 12:44:09 +0100
commit682fa797b7358733df9e439241a9ef2906003adf (patch)
tree92bbc98d04f381f9e6a686a550851f02a8fd9b90 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent09361953116770b646decf5820a9455ada2ba4fc (diff)
downloadllvm-682fa797b7358733df9e439241a9ef2906003adf.zip
llvm-682fa797b7358733df9e439241a9ef2906003adf.tar.gz
llvm-682fa797b7358733df9e439241a9ef2906003adf.tar.bz2
InstCombine/Select: remove redundant code (NFC) (#112388)
InstCombinerImpl::foldSelectInstWithICmp has some inlined code for select-icmp-xor simplification, but this simplification is already done by other code, via another path: (X & Y) == 0 ? X : X ^ Y -> ((X & Y) == 0 ? 0 : Y) ^ X -> (X & Y) ^ X -> X & ~Y Cover the cases that it claims to simplify, and demonstrate that stripping it doesn't cause test changes.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions