[all-commits] [llvm/llvm-project] 2ec3ca: [ARM] Extend IsCMPZCSINC to handle CMOV
David Green via All-commits
all-commits at lists.llvm.org
Mon Dec 27 06:15:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ec3ca747732e9cb9b051c1f979902c0291091c4
https://github.com/llvm/llvm-project/commit/2ec3ca747732e9cb9b051c1f979902c0291091c4
Author: David Green <david.green at arm.com>
Date: 2021-12-27 (Mon, 27 Dec 2021)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/fp16-fullfp16.ll
M llvm/test/CodeGen/ARM/fpclamptosat_vec.ll
M llvm/test/CodeGen/Thumb2/active_lane_mask.ll
M llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll
M llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll
M llvm/test/CodeGen/Thumb2/mve-masked-load.ll
M llvm/test/CodeGen/Thumb2/mve-masked-store.ll
M llvm/test/CodeGen/Thumb2/mve-minmax.ll
M llvm/test/CodeGen/Thumb2/mve-minmaxi.ll
M llvm/test/CodeGen/Thumb2/mve-pred-ext.ll
M llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll
M llvm/test/CodeGen/Thumb2/mve-saturating-arith.ll
M llvm/test/CodeGen/Thumb2/mve-vcmp.ll
M llvm/test/CodeGen/Thumb2/mve-vcmpf.ll
M llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
M llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll
M llvm/test/CodeGen/Thumb2/mve-vcmpr.ll
M llvm/test/CodeGen/Thumb2/mve-vqmovn.ll
M llvm/test/CodeGen/Thumb2/mve-vqshrn.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list