Fix NEG alias

llvm-svn: 138125
This commit is contained in:
Jim Grosbach
2011-08-19 22:30:58 +00:00
parent 459422d750
commit 8022015a16

View File

@@ -1115,7 +1115,7 @@ def tRSB : // A8.6.141
[(set tGPR:$Rd, (ineg tGPR:$Rn))]>;
def : InstAlias<"neg${s}${p} $Rd, $Rm",
(tRSB tGPR:$Rd, CPSR, tGPR:$Rm, pred:$p)>,
(tRSB tGPR:$Rd, s_cc_out:$s, tGPR:$Rm, pred:$p)>,
Requires<[IsThumb]>;
// Subtract with carry register