OSDN Git Service

Revert "[InstCombine] Avoid combining the bitcast of a var that is used as both addre...
authorEric Christopher <echristo@gmail.com>
Wed, 29 Jun 2016 03:05:58 +0000 (03:05 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 29 Jun 2016 03:05:58 +0000 (03:05 +0000)
commite2f7f59e277712377d711c2b5d95be2fa902ddc7
tree2982c7fc196c07208b2aa06bed79bfe5343ad5ed
parentbb79b8e5de293e5c7a57ec14da57d03728f5db31
Revert "[InstCombine] Avoid combining the bitcast of a var that is used as both address and result of load instructions"
Revert "[InstCombine] Combine A->B->A BitCast"

as this appears to cause PR27996 and as discussed in http://reviews.llvm.org/D20847

This reverts commits r270135 and r263734.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
test/Transforms/InstCombine/pr25342.ll [deleted file]
test/Transforms/InstCombine/pr27703.ll [deleted file]