projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7fe494
)
LSR cleanup patch
author
Andrew Lenharth
<andrewl@lenharth.org>
Thu, 3 Mar 2005 19:03:21 +0000
(19:03 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Thu, 3 Mar 2005 19:03:21 +0000
(19:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20422
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaTargetMachine.cpp
b/lib/Target/Alpha/AlphaTargetMachine.cpp
index 80a88662a12e745eb52b0545ef6782d7b8c57990..7bc4852105d1dd01bbd37ad81062ec3a9ea05c1b 100644
(file)
--- a/
lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/
lib/Target/Alpha/AlphaTargetMachine.cpp
@@
-60,8
+60,10
@@
AlphaTargetMachine::AlphaTargetMachine( const Module &M, IntrinsicLowering *IL)
bool AlphaTargetMachine::addPassesToEmitAssembly(PassManager &PM,
std::ostream &Out) {
- if (EnableAlphaLSR)
+ if (EnableAlphaLSR)
{
PM.add(createLoopStrengthReducePass());
+ PM.add(createCFGSimplificationPass());
+ }
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());