aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Utils/LoopSimplify.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp
index 3c77b01a86..fb57a2318a 100644
--- 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...