implement a FIXME: limit the depth that DecomposeGEPExpression goes the same
authorChris Lattner <sabre@nondot.org>
Sat, 28 Nov 2009 15:12:41 +0000 (15:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Nov 2009 15:12:41 +0000 (15:12 +0000)
commitab9530ee5d8fec9ed822a82fa21b588952269897
tree83f987a2ef9fb0758bdd99914d471b2a09ac5c46
parentaf7a28939eb72258fef61398b53b4f3a24c1541f
implement a FIXME: limit the depth that DecomposeGEPExpression goes the same
way that getUnderlyingObject does it.

This fixes the 'DecomposeGEPExpression and getUnderlyingObject disagree!'
assertion on sqlite3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/DeadStoreElimination/crash.ll