remove the instcombine transformations that are inserting nasty
authorChris Lattner <sabre@nondot.org>
Sat, 2 Jan 2010 00:31:05 +0000 (00:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 2 Jan 2010 00:31:05 +0000 (00:31 +0000)
commit0b178e25c4104f3577fed6e66bd2c17f9fc08eb2
treed46127bd7e76c791264314f8fea8cca5d2dcabc2
parent09987f73f63a105abaa17024aa03fd677b7247a3
remove the instcombine transformations that are inserting nasty
pointer to int casts that confuse later optimizations.  See PR3351
for details.

This improves but doesn't complete fix 483.xalancbmk because llvm-gcc
does this xform in GCC's "fold" routine as well.  Clang++ will do
better I guess.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/or.ll