1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/Transforms/LoopIdiom
Chad Rosier 8328302c3f [LIR] Add support for creating memcpys from loops with a negative stride.
This allows us to transform the below loop into a memcpy.

void test(unsigned *__restrict__ a, unsigned *__restrict__ b) {
  for (int i = 2047; i >= 0; --i) {
    a[i] = b[i];
  }
}

This is the memcpy version of r251518, which added support for memset with
negative strided loops.

llvm-svn: 253091
2015-11-13 21:51:02 +00:00
..
AMDGPU AMDGPU: Fix some places missed in rename 2015-06-19 17:39:03 +00:00
X86
basic-address-space.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
basic.ll [LIR] Add support for creating memcpys from loops with a negative stride. 2015-11-13 21:51:02 +00:00
crash.ll
ctpop-multiple-users-crash.ll Remove unnecessary lines from the test in r242068. 2015-07-13 21:50:35 +00:00
debug-line.ll DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
memset_noidiom.ll
non-canonical-loop.ll
scev-invalidation.ll