summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-10-13 00:34:10 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-10-13 00:34:10 +0000
commit05ee0819a7cce1370a1ae489fa3ce3a42f423086 (patch)
tree33694c5a05ff9ab2992a050985a7d48a5c8a1c3c /llvm/lib/Target/TargetMachine.cpp
parent10d81640130f41a015542ce8f86227a651a23443 (diff)
downloadbcm5719-llvm-05ee0819a7cce1370a1ae489fa3ce3a42f423086.tar.gz
bcm5719-llvm-05ee0819a7cce1370a1ae489fa3ce3a42f423086.zip
Run LICM before GCSE!
llvm-svn: 4135
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index cd171725394..5a0acfd4399 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -130,8 +130,8 @@ TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
{
PM.add(createPreSelectionPass(*this));
/* PM.add(createReassociatePass()); */
- PM.add(createGCSEPass());
PM.add(createLICMPass());
+ PM.add(createGCSEPass());
}
PM.add(createInstructionSelectionPass(*this));
OpenPOWER on IntegriCloud