diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-12-14 18:12:37 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-12-14 18:12:37 +0000 |
commit | 5dca1c9f633e3657189afaf9a672a7715c7be22d (patch) | |
tree | 51a026a7f59b211d53a4059c57e266dab1d852ea /lib | |
parent | 4677708d4f3a9f2fd76d589a604936b294da309f (diff) | |
download | external_llvm-5dca1c9f633e3657189afaf9a672a7715c7be22d.zip external_llvm-5dca1c9f633e3657189afaf9a672a7715c7be22d.tar.gz external_llvm-5dca1c9f633e3657189afaf9a672a7715c7be22d.tar.bz2 |
Fix copy/pasto that skipped the 'modify' step.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 401843b..516a080 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -252,7 +252,7 @@ def so_imm_neg : Operand<i32>, PatLeaf<(imm), [{ // Note: this pattern doesn't require an encoder method and such, as it's // only used on aliases (Pat<> and InstAlias<>). The actual encoding -// is handled by the destination instructions, which use t2_so_imm. +// is handled by the destination instructions, which use so_imm. def so_imm_not_asmoperand : AsmOperandClass { let Name = "ARMSOImmNot"; } def so_imm_not : Operand<i32>, PatLeaf<(imm), [{ return ARM_AM::getSOImmVal(~(uint32_t)N->getZExtValue()) != -1; @@ -5091,11 +5091,11 @@ def : ARMInstAlias<"add${s}${p} $Rd, $Rn, $imm", (SUBri GPR:$Rd, GPR:$Rn, so_imm_neg:$imm, pred:$p, cc_out:$s)>; def : ARMInstAlias<"add${s}${p} $Rd, $imm", (SUBri GPR:$Rd, GPR:$Rd, so_imm_neg:$imm, pred:$p, cc_out:$s)>; -// Same for CMP <--> CMN via t2_so_imm_neg +// Same for CMP <--> CMN via so_imm_neg def : ARMInstAlias<"cmp${p} $Rd, $imm", - (CMNzri rGPR:$Rd, t2_so_imm_neg:$imm, pred:$p)>; + (CMNzri rGPR:$Rd, so_imm_neg:$imm, pred:$p)>; def : ARMInstAlias<"cmn${p} $Rd, $imm", - (CMPri rGPR:$Rd, t2_so_imm_neg:$imm, pred:$p)>; + (CMPri rGPR:$Rd, so_imm_neg:$imm, pred:$p)>; // The shifter forms of the MOV instruction are aliased to the ASR, LSL, // LSR, ROR, and RRX instructions. |