diff options
author | Michael Kruse <llvm@meinersbur.de> | 2016-09-30 18:29:37 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2016-09-30 18:29:37 +0000 |
commit | 4b0c5aea7856eacf0e309360a3e72cf96cf602e9 (patch) | |
tree | 321f3ef65a7c9175f397a40498ff4c826c7179c7 /llvm/lib/LineEditor/LineEditor.cpp | |
parent | cfa31b6307d2d2ecb0a9c9c3b81c0305531ffadd (diff) | |
download | bcm5719-llvm-4b0c5aea7856eacf0e309360a3e72cf96cf602e9.tar.gz bcm5719-llvm-4b0c5aea7856eacf0e309360a3e72cf96cf602e9.zip |
[CodeGen] Add assertion for indirect array index expression generation. NFC.
Currently Polly cannot generate code for index expressions if the base pointer
is computed within the scop. The base pointer must be generated as well, but
there is no code that triggers that.
Add an assertion to detect when this would occur and miscompile. The IR verifier
should catch it as well.
llvm-svn: 282893
Diffstat (limited to 'llvm/lib/LineEditor/LineEditor.cpp')
0 files changed, 0 insertions, 0 deletions