Strengthen GetUnderlyingObject using InstructionSimplify.
authorDan Gohman <gohman@apple.com>
Wed, 15 Dec 2010 20:10:26 +0000 (20:10 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 15 Dec 2010 20:10:26 +0000 (20:10 +0000)
commit243712720ad1da144d4376bdd854d81260c1beaa
tree89d26602bf01aa016d933a6ff177c8c3074f29b5
parent5034dd318a9dfa0dc45a3ac01e58e60f2aa2498d
Strengthen GetUnderlyingObject using InstructionSimplify.

While LLVM's main design is that analysis code shouldn't
go out of its way to understand code which hasn't been
InstCombined, analysis utility routines like this can
find themselves being called in the middle of transform
passes when instcombine hasn't had a chance to run.

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