[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopPreheaders.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 12 14:34:01 PDT 2003
Changes in directory llvm/lib/Transforms/Scalar:
LoopPreheaders.cpp updated: 1.17 -> 1.18
---
Log message:
The preheader insertion pass only depends on the CFG. Mark it as such, which
allows GCCAS to only run it once.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Transforms/Scalar/LoopPreheaders.cpp
diff -u llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.17 llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.18
--- llvm/lib/Transforms/Scalar/LoopPreheaders.cpp:1.17 Fri Oct 10 12:50:50 2003
+++ llvm/lib/Transforms/Scalar/LoopPreheaders.cpp Sun Oct 12 14:33:10 2003
@@ -56,7 +56,8 @@
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...
More information about the llvm-commits
mailing list