[polly] r230624 - Allow non-affine control flow by default

Johannes Doerfert doerfert at cs.uni-saarland.de
Thu Feb 26 03:09:24 PST 2015


Author: jdoerfert
Date: Thu Feb 26 05:09:24 2015
New Revision: 230624

URL: http://llvm.org/viewvc/llvm-project?rev=230624&view=rev
Log:
Allow non-affine control flow by default

  With the patches r230325, r230329 and r230340 we can handle non-affine
  control flow in (loop-free) subregions. As all LLVM test-suite tests pass and
  we get ~20% more non-trivial SCoPs, we activate it now by default.

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=230624&r1=230623&r2=230624&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Thu Feb 26 05:09:24 2015
@@ -129,7 +129,7 @@ static cl::opt<bool>
 static cl::opt<bool> AllowNonAffineSubRegions(
     "polly-allow-nonaffine-branches",
     cl::desc("Allow non affine conditions for branches"), cl::Hidden,
-    cl::init(false), cl::ZeroOrMore, cl::cat(PollyCategory));
+    cl::init(true), cl::ZeroOrMore, cl::cat(PollyCategory));
 
 static cl::opt<bool> AllowUnsigned("polly-allow-unsigned",
                                    cl::desc("Allow unsigned expressions"),





More information about the llvm-commits mailing list