llvm-6502/lib/Transforms
Nadav Rotem 319d594e22 Add the last part that is needed for vectorization of if-converted code.
Added the code that actually performs the if-conversion during vectorization.

We can now vectorize this code:

for (int i=0; i<n; ++i) {
  unsigned k = 0;

  if (a[i] > b[i])   <------ IF inside the loop.
    k = k * 5 + 3;

  a[i] = k;          <---- K is a phi node that becomes vector-select.
}



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169217 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-04 06:15:11 +00:00
..
Hello Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
InstCombine rdar://12329730 (2nd part, revised) 2012-12-04 03:28:32 +00:00
Instrumentation [asan] add experimental -asan-realign-stack option (true by default, which does not change the current behavior) 2012-12-04 06:14:01 +00:00
IPO Add 'using' declarations to suppress -Woverloaded-virtual warnings. 2012-12-04 05:41:27 +00:00
Scalar Add 'using' declarations to suppress -Woverloaded-virtual warnings. 2012-12-04 05:41:27 +00:00
Utils Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Vectorize Add the last part that is needed for vectorization of if-converted code. 2012-12-04 06:15:11 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00