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
|
||
|---|---|---|
| .. | ||
| AMDGPU | ||
| X86 | ||
| basic-address-space.ll | ||
| basic.ll | ||
| crash.ll | ||
| ctpop-multiple-users-crash.ll | ||
| debug-line.ll | ||
| memset_noidiom.ll | ||
| non-canonical-loop.ll | ||
| scev-invalidation.ll | ||