From 3a244bd8b335a8747dd032ad1f6b187415ad6958 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 19 Aug 2011 22:30:58 +0000 Subject: [PATCH] Fix NEG alias git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138125 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrThumb.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index 8da7be05d40..197afeb11fd 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 -- 2.34.1