Generalize DecomposeGEPExpression to exactly handle what Value::getUnderlyingObject...
authorChris Lattner <sabre@nondot.org>
Thu, 26 Nov 2009 02:14:59 +0000 (02:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Nov 2009 02:14:59 +0000 (02:14 +0000)
commit23e2a5b2fff8b5b483a464ce1bea9a686e6731de
tree7307ec793fcacd82d8ca7fe0584dda56e5a32f28
parent4e91ee7a2a80142c3774a9984f92a3fae1c126e7
Generalize DecomposeGEPExpression to exactly handle what Value::getUnderlyingObject does (when TD is around).  This allows us to avoid calling DecomposeGEPExpression unless the ultimate alias check we care about passes, speedup up BasicAA a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89920 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp