diff options
author | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-05-23 19:23:17 +0000 |
---|---|---|
committer | Gerolf Hoflehner <ghoflehner@apple.com> | 2016-05-23 19:23:17 +0000 |
commit | 00e7092f68fe462b7a1dbcf424f66de60180f687 (patch) | |
tree | 0eb230f840516ee33909fb1397caa5286cd57e89 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | be080fc51d77b80f82fe7d220815a29a7b89dea1 (diff) | |
download | bcm5719-llvm-00e7092f68fe462b7a1dbcf424f66de60180f687.tar.gz bcm5719-llvm-00e7092f68fe462b7a1dbcf424f66de60180f687.zip |
[InstCombine] Fix assertion when bitcast is converted to gep
When an aggregate contains an opaque type its size cannot be
determined. This triggers an "Invalid GetElementPtrInst indices for type" assert
in function checkGEPType. The fix suppresses the conversion in this case.
http://reviews.llvm.org/D20319
llvm-svn: 270479
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions