aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-30 20:38:21 +0000
committerChris Lattner <sabre@nondot.org>2009-08-30 20:38:21 +0000
commit2de2319124a74b2afff8a0cb1a272dc00b98e273 (patch)
tree960a8c9744db7b75c517f9363991e99ceb4858cc /lib/Bitcode/Reader/BitcodeReader.h
parent963f4ba8265f17c781e11e10cdc09e4c88bc5cf3 (diff)
Fix PR4748: don't fold gep(bitcast(x)) into bitcast(gep) when x
is itself a bitcast. Since we have gep(bitcast(bitcast(y))) in this case, just wait for the two bitcasts to get zapped. This prevents instcombine from confusing some aliasing stuff, and allows it to directly eliminate the load in the testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions