summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-04-28 19:15:28 +0000
committerTobias Grosser <tobias@grosser.es>2017-04-28 19:15:28 +0000
commitf13722177bd7ac28ccfdb1cbabe7afb969e3f7ee (patch)
treef6aa0960483100a1a015fb5e3f386e58108e341d
parentd439911f73e303383570fe05dc908c3442f678c4 (diff)
downloadbcm5719-llvm-f13722177bd7ac28ccfdb1cbabe7afb969e3f7ee.tar.gz
bcm5719-llvm-f13722177bd7ac28ccfdb1cbabe7afb969e3f7ee.zip
[Codegen] Disable Polly's codegen verification by default
As has been reported in the previous commit, codegen verification can result in quadratic compile time increases for large functions with many scops. This is certainly not something we would like to have in the Polly default configuration. Hence, we disable codegen verification by default -- also to see if this resolves some of the compilation timeouts we currently see on the AOSP buildbots. We still leave this feature in Polly as it has shown _very_ useful for debugging. In fact, we may want to have a discussion if we can bring this feature back in a way that does not impact compilation time so much. Thanks to Eli Friedman <efriedma@codeaurora.org> for reporting this issue and for providing the test case in the previous commit (where I forgot to acknowledge him). llvm-svn: 301670
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index e1d28b34d21..528aa48ce32 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -43,7 +43,7 @@ using namespace llvm;
static cl::opt<bool> Verify("polly-codegen-verify",
cl::desc("Verify the function generated by Polly"),
- cl::Hidden, cl::init(true), cl::ZeroOrMore,
+ cl::Hidden, cl::init(false), cl::ZeroOrMore,
cl::cat(PollyCategory));
static cl::opt<bool>
OpenPOWER on IntegriCloud