llvm-project/llvm/lib/Transforms/InstCombine
Gerolf Hoflehner 00e7092f68 [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
2016-05-23 19:23:17 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
InstCombineAddSub.cpp Remove uses of builtin comma operator. 2016-02-18 22:09:30 +00:00
InstCombineAndOrXor.cpp Typo. NFC. 2016-05-09 21:37:43 +00:00
InstCombineCalls.cpp [InstCombine] Remove trivially empty va_start/va_end and va_copy/va_end ranges. 2016-05-10 09:24:49 +00:00
InstCombineCasts.cpp [InstCombine] Fix assertion when bitcast is converted to gep 2016-05-23 19:23:17 +00:00
InstCombineCompares.cpp [InstCombine] add another test for wrong icmp constant (PR27792) 2016-05-17 20:20:40 +00:00
InstCombineInternal.h [InstCombine] Remove trivially empty va_start/va_end and va_copy/va_end ranges. 2016-05-10 09:24:49 +00:00
InstCombineLoadStoreAlloca.cpp Reapply 267210 with fix for PR27490 2016-05-06 22:17:01 +00:00
InstCombineMulDivRem.cpp reduce indent; NFC 2016-05-22 17:08:52 +00:00
InstCombinePHI.cpp [InstCombine] Preserve fast math flags when combining PHIs 2016-04-22 11:21:36 +00:00
InstCombineSelect.cpp [InstCombine] Determine the result of a select based on a dominating condition. 2016-04-29 21:12:31 +00:00
InstCombineShifts.cpp add FIXME comment; NFC 2016-04-11 17:35:57 +00:00
InstCombineSimplifyDemanded.cpp [InstCombine] clean up; NFC 2016-04-29 20:54:56 +00:00
InstCombineVectorOps.cpp Fix an issue where fast math flags were dropped during scalarization. 2016-03-01 19:35:52 +00:00
InstructionCombining.cpp use 'match' for less indenting; NFCI 2016-05-13 21:51:17 +00:00
LLVMBuild.txt Update libdeps since TLI was moved from Target to Analysis in r226078. 2015-01-15 05:21:00 +00:00