aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-11-08 19:12:05 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2015-11-08 19:12:05 +0000
commita768624f143a3b75c7b65bf813398ae0f12d6c7b (patch)
tree1c216b8d1ed453a46c298befde421b70b3f7ad37 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent470bfa9aaa08f67543e099f6d7aaafe440238ac9 (diff)
downloadllvm-a768624f143a3b75c7b65bf813398ae0f12d6c7b.zip
llvm-a768624f143a3b75c7b65bf813398ae0f12d6c7b.tar.gz
llvm-a768624f143a3b75c7b65bf813398ae0f12d6c7b.tar.bz2
[FIX] Introduce different SAI objects for scalar and memory accesses
Even if a scalar and memory access have the same base pointer, we cannot use one SAI object as the type but also the number of dimensions are wrong. For the attached test case this caused a crash in the invariant load hoisting, though it could cause various other problems too. This fixes bug 25428 and a execution time bug in MallocBench/cfrac. Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 252422
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions