diff options
author | Michael Kruse <llvm@meinersbur.de> | 2015-09-11 13:45:05 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2015-09-11 13:45:05 +0000 |
commit | 07d5df4db85889d1308d39180ada273336777f9a (patch) | |
tree | c729ac44766cdcb1b8bfa83b1b7514b0f0866ddc /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 8bc3f5cd50ec8941ae101f571e312fe85d3f82c3 (diff) | |
download | bcm5719-llvm-07d5df4db85889d1308d39180ada273336777f9a.tar.gz bcm5719-llvm-07d5df4db85889d1308d39180ada273336777f9a.zip |
Fix out-of-range access in test case
The function use_after_scop would iterate from 0 to 1024 and accessing element A[1024] where A has only valid indexes from 0 to 1023. Polly detects the situation of unconditionally undefined behavior and bail out in ScopInfo as non-feasible for optimization.
Other tests add impossible context assumptions as well, hance might show the same problem.
llvm-svn: 247412
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions