fix instcombine merging GEPs through a PHI to only make the
authorChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 22:21:26 +0000 (22:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Feb 2011 22:21:26 +0000 (22:21 +0000)
commit4bd8217af3cf38f9fcce378fbc687162e28a7cf8
tree2563d191093c4e023a03f0970a0e5591bf43bdf2
parent093399cbf3bcdb31d04b3bf5c5691fc88c25da48
fix instcombine merging GEPs through a PHI to only make the
result inbounds if all of the inputs are inbounds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125785 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombinePHI.cpp
test/Transforms/InstCombine/phi.ll