summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
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
commit0859ef29d5eed3cc32dbc5fcaa7ced2e7dfe4b5b (patch)
tree020c0cd9dac6bd0e35d390bb12a86b3571e4bbd0 /llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
parent8ca388414754e5025c0a8339f8d342b029084b69 (diff)
downloadbcm5719-llvm-0859ef29d5eed3cc32dbc5fcaa7ced2e7dfe4b5b.tar.gz
bcm5719-llvm-0859ef29d5eed3cc32dbc5fcaa7ced2e7dfe4b5b.zip
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. llvm-svn: 182296
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCCTRLoops.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCCTRLoops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
index d36fec0a0a5..124d7788529 100644
--- a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
+++ b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
@@ -627,7 +627,7 @@ check_block:
CheckPreds = true;
for (MachineBasicBlock::iterator IE = MBB->begin();; --I) {
unsigned Opc = I->getOpcode();
- if (Opc == PPC::MTCTRse || Opc == PPC::MTCTR8se) {
+ if (Opc == PPC::MTCTRloop || Opc == PPC::MTCTR8loop) {
CheckPreds = false;
break;
}
OpenPOWER on IntegriCloud