aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-07 05:42:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-07 05:42:24 +0000
commitbbf1db72133e9cf986e4da6260736335533067db (patch)
tree61d89ef85f314bec48cb9460b6e5539a44809aee /lib/CodeGen/LLVMTargetMachine.cpp
parenta9bb0675e51e84d10107984c4b4a1fd13ea0a38d (diff)
Rename "loop aligner" pass to "code placement optimization" pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp
index b4a0bc2b7a..c93ecdab47 100644
--- a/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -70,7 +70,7 @@ LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
PM.add(createMachineFunctionPrinterPass(cerr));
if (OptLevel != CodeGenOpt::None)
- PM.add(createLoopAlignerPass());
+ PM.add(createCodePlacementOptPass());
switch (FileType) {
default: