Skip to content

Commit

Permalink
Fix NEG alias
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138125 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Jim Grosbach committed Aug 19, 2011
1 parent 7a01069 commit 3a244bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/ARM/ARMInstrThumb.td
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a244bd

Please sign in to comment.