Add support for memory runtime check. When we can, we calculate array bounds.
authorNadav Rotem <nrotem@apple.com>
Fri, 9 Nov 2012 07:09:44 +0000 (07:09 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 9 Nov 2012 07:09:44 +0000 (07:09 +0000)
commit1cfef3e9ee687d05b35127112bb58a5f1676407e
tree1d080120fb2a436cbe51655647a3b1316dfc85f8
parentd1e906e1f1748d7daec90e167b5a1aa572af1302
Add support for memory runtime check. When we can, we calculate array bounds.
If the arrays are found to be disjoint then we run the vectorized version of
the loop. If they are not, we run the scalar code.

llvm-svn: 167608
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/runtime-check.ll [new file with mode: 0644]