aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-04-11 14:34:08 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-04-11 14:34:08 +0000
commit3b425ff232d69ab7326c8d0d43d5485a15e7911b (patch)
treeb1f8ed3b9f5525ae5d7442331909d47ebcafa4a5 /llvm/lib/CodeGen/MachineFunction.cpp
parent2d5487cf446f9a58f6d2f76df33102423c83f285 (diff)
downloadllvm-3b425ff232d69ab7326c8d0d43d5485a15e7911b.zip
llvm-3b425ff232d69ab7326c8d0d43d5485a15e7911b.tar.gz
llvm-3b425ff232d69ab7326c8d0d43d5485a15e7911b.tar.bz2
Allow overflow of indices with constant dim-sizes.
Allow overflow of indices into the next higher dimension if it has constant size. E.g. float A[32][2]; ((float*)A)[5]; is effectively the same as A[2][1]; This can happen since r265379 as a side effect if ScopDetection recognizes an access as affine, but ScopInfo rejects the GetElementPtr. Differential Revision: http://reviews.llvm.org/D18878 llvm-svn: 265942
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions