InstCombine: Removing the base from the address calculation is only safe when the...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 20 Feb 2012 18:45:10 +0000 (18:45 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 20 Feb 2012 18:45:10 +0000 (18:45 +0000)
commit6ad48f413743366c91b088a8e39d7f882200429d
tree8586702eea9363c10ce1882f7b64b0f0aee765f3
parent1c7f744bbbada1f4bab725c393cfe9ac30e87ffc
InstCombine: Removing the base from the address calculation is only safe when the GEPs are inbounds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150978 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp