summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-10-26 17:28:15 +0000
committerJim Grosbach <grosbach@apple.com>2011-10-26 17:28:15 +0000
commit25d4707c4d4d8e4dd5fa7896aedbfac3c621bacb (patch)
tree3b4baf952cbdae13801cdaefa43ea8171f92b885 /llvm
parent04e46b6ae49e1748a200e3832447a0d35655d20b (diff)
downloadbcm5719-llvm-25d4707c4d4d8e4dd5fa7896aedbfac3c621bacb.tar.gz
bcm5719-llvm-25d4707c4d4d8e4dd5fa7896aedbfac3c621bacb.zip
Thumb2 remove redundant ".w" suffix from t2MVNCCi pattern.
llvm-svn: 143034
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td2
-rw-r--r--llvm/test/CodeGen/ARM/select-imm.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index a65a75f8e3e..3facc64b494 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td
@@ -2887,7 +2887,7 @@ def t2MOVCCi32imm : PseudoInst<(outs rGPR:$dst),
let isMoveImm = 1 in
def t2MVNCCi : T2OneRegImm<(outs rGPR:$Rd), (ins rGPR:$false, t2_so_imm:$imm),
- IIC_iCMOVi, "mvn", ".w\t$Rd, $imm",
+ IIC_iCMOVi, "mvn", "\t$Rd, $imm",
[/*(set rGPR:$Rd,(ARMcmov rGPR:$false,t2_so_imm_not:$imm,
imm:$cc, CCR:$ccr))*/]>,
RegConstraint<"$false = $Rd"> {
diff --git a/llvm/test/CodeGen/ARM/select-imm.ll b/llvm/test/CodeGen/ARM/select-imm.ll
index f43dde52bbf..e927b39be59 100644
--- a/llvm/test/CodeGen/ARM/select-imm.ll
+++ b/llvm/test/CodeGen/ARM/select-imm.ll
@@ -71,7 +71,7 @@ entry:
; ARMT2: movtlt [[R0]], #65365
; THUMB2: t4:
-; THUMB2: mvnlt.w [[R0:r[0-9]+]], #11141290
+; THUMB2: mvnlt [[R0:r[0-9]+]], #11141290
%0 = icmp slt i32 %a, %b
%1 = select i1 %0, i32 4283826005, i32 %x
ret i32 %1
OpenPOWER on IntegriCloud