Thumb2 remove redundant ".w" suffix from t2MVNCCi pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-10-26 17:28:15 +00:00
parent f8261e7d07
commit 9c5edc00c4
2 changed files with 2 additions and 2 deletions

View File

@ -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"> {

View File

@ -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