OSDN Git Service

Fix isEliminableCastPair to work correctly in the presence of pointers
authorDuncan Sands <baldrick@free.fr>
Tue, 30 Oct 2012 16:03:32 +0000 (16:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 30 Oct 2012 16:03:32 +0000 (16:03 +0000)
commit446cf94cdbbc1f8e22452fc46664ac73d810c6a2
tree81ecaa52ec11d25214b1ee28cfafa3543fddc94e
parent92b469971e6125e1aae90c43e0f00a5cb1e88b47
Fix isEliminableCastPair to work correctly in the presence of pointers
with different sizes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167018 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
lib/Transforms/InstCombine/InstCombineCasts.cpp
lib/VMCore/ConstantFold.cpp
lib/VMCore/Instructions.cpp
unittests/VMCore/InstructionsTest.cpp