summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-05-20 16:08:37 +0000
committerHal Finkel <hfinkel@anl.gov>2013-05-20 16:08:37 +0000
commit85c08b059ce4248ee739e756cf717a9b429e2ec2 (patch)
treeb3c8f9746e54bb4d2b9f185f8752d1548542f1fb /lib/Target/PowerPC/PPCInstrInfo.td
parente50c8c1f81a38f0ecebafa5dc60a163814a9713a (diff)
downloadllvm-85c08b059ce4248ee739e756cf717a9b429e2ec2.tar.gz
llvm-85c08b059ce4248ee739e756cf717a9b429e2ec2.tar.bz2
llvm-85c08b059ce4248ee739e756cf717a9b429e2ec2.tar.xz
Rename PPC MTCTRse to MTCTRloop
As the pairing of this instruction form with the bdnz/bdz branches is now enforced by the verification pass, make it clear from the name that these are used only for counter-based loops. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 16a102f6a2..2631cb7e75 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -1704,9 +1704,9 @@ def MTCTR : XFXForm_7_ext<31, 467, 9, (outs), (ins gprc:$rS),
}
let hasSideEffects = 1, isCodeGenOnly = 1, Defs = [CTR] in {
let Pattern = [(int_ppc_mtctr i32:$rS)] in
-def MTCTRse : XFXForm_7_ext<31, 467, 9, (outs), (ins gprc:$rS),
- "mtctr $rS", SprMTSPR>,
- PPC970_DGroup_First, PPC970_Unit_FXU;
+def MTCTRloop : XFXForm_7_ext<31, 467, 9, (outs), (ins gprc:$rS),
+ "mtctr $rS", SprMTSPR>,
+ PPC970_DGroup_First, PPC970_Unit_FXU;
}
let Defs = [LR] in {