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:
5b62cdc
)
The preheader insertion pass only depends on the CFG. Mark it as such, which
author
Chris Lattner
<sabre@nondot.org>
Sun, 12 Oct 2003 19:33:10 +0000
(19:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 12 Oct 2003 19:33:10 +0000
(19:33 +0000)
allows GCCAS to only run it once.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9056
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LoopSimplify.cpp
b/lib/Transforms/Utils/LoopSimplify.cpp
index 3c77b01a86a197e7b278f7541f5278b4b4372e0d..fb57a2318ab789967d53f166cd3b1c165eda2684 100644
(file)
--- a/
lib/Transforms/Utils/LoopSimplify.cpp
+++ b/
lib/Transforms/Utils/LoopSimplify.cpp
@@
-56,7
+56,8
@@
namespace {
void InsertPreheaderForLoop(Loop *L);
};
- RegisterOpt<Preheaders> X("preheaders", "Natural loop pre-header insertion");
+ RegisterOpt<Preheaders> X("preheaders", "Natural loop pre-header insertion",
+ true);
}
// Publically exposed interface to pass...