Fix NEG alias

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-08-19 22:30:58 +00:00
parent 7a01069420
commit 3a244bd8b3

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