summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorGerolf Hoflehner <ghoflehner@apple.com>2016-05-23 19:23:17 +0000
committerGerolf Hoflehner <ghoflehner@apple.com>2016-05-23 19:23:17 +0000
commit00e7092f68fe462b7a1dbcf424f66de60180f687 (patch)
tree0eb230f840516ee33909fb1397caa5286cd57e89 /clang/lib/Frontend/InitPreprocessor.cpp
parentbe080fc51d77b80f82fe7d220815a29a7b89dea1 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud