llvm-project/llvm/lib/Transforms/InstCombine
Guozhi Wei b1d37199cc [InstCombine] Avoid combining the bitcast of a var that is used as both address and result of load instructions
This patch fixes https://llvm.org/bugs/show_bug.cgi?id=27703.

If there is a sequence of one or more load instructions, each loaded value is used as address of later load instruction, bitcast is necessary to change the value type, don't optimize it.

llvm-svn: 270135
2016-05-19 21:07:01 +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] Avoid combining the bitcast of a var that is used as both address and result of load instructions 2016-05-19 21:07:01 +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 Remove uses of builtin comma operator. 2016-02-18 22:09:30 +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