Enable SCEV based code generation by default
authorTobias Grosser <tobias@grosser.es>
Sun, 16 Nov 2014 22:50:23 +0000 (22:50 +0000)
committerTobias Grosser <tobias@grosser.es>
Sun, 16 Nov 2014 22:50:23 +0000 (22:50 +0000)
commit7031141009b44740bf52ceb5f84e29e7a8184b69
tree9f5ada3df312838a708bdb9b991e3731d06d8857
parentbab3568105ede202ceb4a16ad8cb3f615af5f54d
Enable SCEV based code generation by default

SCEV based code generation allows Polly to detect and generate code for loops
that do not have an explicit induction variable, but only virtual induction
variables given by SCEV.

Being able to do so has two main benefits:

  - We can detect more scops by default
  - We require less canonicalization before Polly, which means we get closer
    to our goal of not touching the IR before analyzing its properties.
    Specifically, we do not need to run -polly-indvars to introduce explicit
    canonical induction variables.

This switch became possible as both the isl code generation and -polly-parallel
are LNT error free with SCEV based code generation and the isl ast generator.

llvm-svn: 222113
polly/lib/CodeGen/BlockGenerators.cpp