Go to file
Elena Demikhovsky c434d091c5 [LoopVectorize] Handling induction variable with non-constant step.
Allow vectorization when the step is a loop-invariant variable.
This is the loop example that is getting vectorized after the patch:

 int int_inc;
 int bar(int init, int *restrict A, int N) {

  int x = init;
  for (int i=0;i<N;i++){
    A[i] = x;
    x += int_inc;
  }
  return x;
 }

"x" is an induction variable with *loop-invariant* step.
But it is not a primary induction. Primary induction variable with non-constant step is not handled yet.

Differential Revision: http://reviews.llvm.org/D19258

llvm-svn: 269023
2016-05-10 07:33:35 +00:00
clang [Clang][AVX512] completing missing intrinsics [roundscale, ceil, floor] 2016-05-10 07:30:58 +00:00
clang-tools-extra [include-fixer] Autodetect yaml databases in parent directories. 2016-05-09 14:14:55 +00:00
compiler-rt Reapply r268840: [profile] Simplify value profile writing 2016-05-10 00:17:31 +00:00
debuginfo-tests
libclc math: Add erf ported from amd-builtins 2016-05-06 18:02:30 +00:00
libcxx Generate code coverage for experimental libraries 2016-05-08 23:08:50 +00:00
libcxxabi libc++abi: fix visibility of personalities 2016-05-04 04:22:29 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Print member name in undefined symbol error. 2016-05-09 21:40:06 +00:00
lldb Add a testcase for "BreakpointSetBySourceRegex" 2016-05-10 01:52:44 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [LoopVectorize] Handling induction variable with non-constant step. 2016-05-10 07:33:35 +00:00
openmp Fine tuning of TC* macros 2016-05-07 00:00:00 +00:00
polly Codegen: Enable the detection of min/max expressions 2016-05-07 08:03:44 +00:00