diff options
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 8da7be05d4..197afeb11f 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -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 |