summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.td
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-16 23:14:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-16 23:14:20 +0000
commit053b5b0b3c34d4763511b6dcd8e0150f8e9dd083 (patch)
tree989c3c0d1eedf009f110607eff9e4d972799fa01 /lib/Target/ARM/ARMInstrInfo.td
parentf2c64ef519b38a4328809b27b4a3a8e0c26e9709 (diff)
downloadllvm-053b5b0b3c34d4763511b6dcd8e0150f8e9dd083.tar.gz
llvm-053b5b0b3c34d4763511b6dcd8e0150f8e9dd083.tar.bz2
llvm-053b5b0b3c34d4763511b6dcd8e0150f8e9dd083.tar.xz
Handle ARM MOVCC optimization in PeepholeOptimizer.
Use the target independent select analysis hooks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 9da8f1c3e3..db83a9feb6 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -3939,7 +3939,7 @@ def BCCZi64 : PseudoInst<(outs),
// a two-value operand where a dag node expects two operands. :(
let neverHasSideEffects = 1 in {
-let isCommutable = 1, usesCustomInserter = 1 in
+let isCommutable = 1, isSelect = 1 in
def MOVCCr : ARMPseudoInst<(outs GPR:$Rd), (ins GPR:$false, GPR:$Rm, pred:$p),
4, IIC_iCMOVr,
[/*(set GPR:$Rd, (ARMcmov GPR:$false, GPR:$Rm, imm:$cc, CCR:$ccr))*/]>,