1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test
Elena Demikhovsky 7866776645 [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
..
Analysis [BasicAA] Guard intrinsics don't write to memory 2016-05-10 02:35:41 +00:00
Assembler DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
Bindings
Bitcode AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
BugPoint
CodeGen liveness.mir requires asserts to use -debug-only 2016-05-10 05:38:47 +00:00
DebugInfo [pdb] Parse the module info stream for each module. 2016-05-09 17:45:21 +00:00
Examples
ExecutionEngine [powerpc] mark JIT tests as UNSUPPORTED on powerpc64 big endian 2016-04-26 03:59:19 +00:00
Feature
FileCheck
Instrumentation [MSan] [AArch64] Fix vararg helper for >1 or non-int fixed arguments. 2016-05-09 20:57:36 +00:00
Integer
JitListener
LibDriver
Linker DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
LTO Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
MC [Hexagon] Treat all conditional branches as predicted (not-taken by default) 2016-05-09 18:22:07 +00:00
Object Clean up the specific error message for a malformed Mach-O files with bad segment 2016-05-05 17:43:35 +00:00
Other Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
SymbolRewriter
TableGen
ThinLTO/X86 Refactor stripDebugInfo(Function) to handle intrinsic 2016-05-07 04:10:52 +00:00
tools [dsymutil] Prevent use-after-free 2016-05-09 14:44:14 +00:00
Transforms [LoopVectorize] Handling induction variable with non-constant step. 2016-05-10 07:33:35 +00:00
Unit
Verifier Verifier: Verify that each inlinable callsite of a debug-info-bearing function 2016-04-24 22:23:13 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Add llvm-pdbdump to the tool substitutions list in lit. NFC. 2016-05-02 16:51:26 +00:00
lit.site.cfg.in
TestRunner.sh