From f13722177bd7ac28ccfdb1cbabe7afb969e3f7ee Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 28 Apr 2017 19:15:28 +0000 Subject: [PATCH] [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 for reporting this issue and for providing the test case in the previous commit (where I forgot to acknowledge him). llvm-svn: 301670 --- polly/lib/CodeGen/CodeGeneration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index e1d28b3..528aa48 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -43,7 +43,7 @@ using namespace llvm; static cl::opt 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 -- 2.7.4