summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-04-04 22:55:54 +0000
committerHal Finkel <hfinkel@anl.gov>2013-04-04 22:55:54 +0000
commitcaeeb1865043d5410b5b0356694fb1228a18ec78 (patch)
treeff82a5c1e706b8e84fedd5f27aa0232af00c1c35 /lib/Target/PowerPC/PPCAsmPrinter.cpp
parent7530a9f7d1e62b28e04d771158613c2954cc8d8c (diff)
downloadllvm-caeeb1865043d5410b5b0356694fb1228a18ec78.tar.gz
llvm-caeeb1865043d5410b5b0356694fb1228a18ec78.tar.bz2
llvm-caeeb1865043d5410b5b0356694fb1228a18ec78.tar.xz
Rename the current PPC BCL definition to BCLalways
BCL is normally a conditional branch-and-link instruction, but has an unconditional form (which is used in the SjLj code, for example). To make clear that this BCL instruction definition is specifically the special unconditional form (which does not meaningfully take a condition-register input), rename it to BCLalways. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 74cc1bb762..96a9f0a390 100644
--- a/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -914,7 +914,7 @@ EmitFunctionStubs(const MachineModuleInfoMachO::SymbolListTy &Stubs) {
// mflr r0
OutStreamer.EmitInstruction(MCInstBuilder(PPC::MFLR).addReg(PPC::R0));
// bcl 20, 31, AnonSymbol
- OutStreamer.EmitInstruction(MCInstBuilder(PPC::BCL).addExpr(Anon));
+ OutStreamer.EmitInstruction(MCInstBuilder(PPC::BCLalways).addExpr(Anon));
OutStreamer.EmitLabel(AnonSymbol);
// mflr r11
OutStreamer.EmitInstruction(MCInstBuilder(PPC::MFLR).addReg(PPC::R11));