1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix NEG alias

llvm-svn: 138125
This commit is contained in:
Jim Grosbach 2011-08-19 22:30:58 +00:00
parent a97661cac4
commit 3cb3facb8f

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