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)
commitb1bf1eeede72b8c93505dd80fdf21aed0e205c7d
tree55a752ca1f67c285e7387012a837e233c104084c
parentb14a5f5f951bb327c28e61198e8ff7193ce3b599
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/runtime-check.ll [new file with mode: 0644]