diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2015-11-13 21:51:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2015-11-13 21:51:02 +0000 |
commit | cc299b627d791a6b71c6e3317177c3dc15e2bcb0 (patch) | |
tree | 08a6aca5aadb7211b42b1bbb141818aad418f772 /lldb/packages/Python/lldbsuite/test/functionalities/signal/main.c | |
parent | 655489433c336d78685e5a4f302b480a2ff3d89c (diff) | |
download | bcm5719-llvm-cc299b627d791a6b71c6e3317177c3dc15e2bcb0.tar.gz bcm5719-llvm-cc299b627d791a6b71c6e3317177c3dc15e2bcb0.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/signal/main.c')
0 files changed, 0 insertions, 0 deletions