Enable scalar and PHI code generation for Polly

The feature itself has been committed by Johannes in r238070. As this is the
way forward, we now enable it to ensure we get test coverage.

Thank you Johannes for this nice work!

llvm-svn: 238088
This commit is contained in:
Tobias Grosser 2015-05-23 03:34:41 +00:00
parent 268205939f
commit ac60f4594f
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ static cl::opt<bool, true> XPollyModelPHINodes(
"polly-model-phi-nodes",
cl::desc("Allow PHI nodes in the input [Unsafe with code-generation!]."),
cl::location(PollyModelPHINodes), cl::Hidden, cl::ZeroOrMore,
cl::init(false), cl::cat(PollyCategory));
cl::init(true), cl::cat(PollyCategory));
bool polly::PollyModelPHINodes = false;
bool polly::PollyTrackFailures = false;

View File

@ -35,7 +35,7 @@ using namespace llvm;
static cl::opt<bool> DisableIntraScopScalarToArray(
"disable-polly-intra-scop-scalar-to-array",
cl::desc("Do not rewrite scalar to array to generate independent blocks"),
cl::Hidden, cl::init(false), cl::cat(PollyCategory));
cl::Hidden, cl::init(true), cl::cat(PollyCategory));
namespace {
struct IndependentBlocks : public FunctionPass {