OSDN Git Service
(root)
/
android-x86
/
external-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
3c77b01
..
fb57a23
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...