summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-12-27 14:15:03 +0000
committerDavid Green <david.green@arm.com>2021-12-27 14:15:03 +0000
commit2ec3ca747732e9cb9b051c1f979902c0291091c4 (patch)
tree048c82d74392e7eca6ed7f5dbf5f8e73943cf5b4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd122d91e37848d47bf0b1851ce0f1793521323cd (diff)
[ARM] Extend IsCMPZCSINC to handle CMOV
A 'CMOV 1, 0, CC, %cpsr, Cmp' is the same as a 'CSINC 0, 0, CC, Cmp', and can be treated the same in IsCMPZCSINC added in D114013. This allows us to remove the unnecessary CMOV in the same way that we could remove a CSINC. Differential Revision: https://reviews.llvm.org/D115188
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions