Added ConstantExpr support to CFLAA.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 10 Mar 2015 02:58:15 +0000 (02:58 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Tue, 10 Mar 2015 02:58:15 +0000 (02:58 +0000)
commitab03af277be84a8e81730af12fecb4f92ef70567
tree24485d7cb5dd561f3f8d85b7f930bde201c6f666
parent202850a025cb1c47e48c4266a78445e3a771f1bc
Added ConstantExpr support to CFLAA.

CFLAA didn't know how to properly handle ConstantExprs; it would silently
ignore them. This was a problem if the ConstantExpr is, say, a GEP of a global,
because CFLAA wouldn't realize that there's a global there. :)

llvm-svn: 231743
llvm/lib/Analysis/CFLAliasAnalysis.cpp
llvm/test/Analysis/CFLAliasAnalysis/asm-global-bugfix.ll
llvm/test/Analysis/CFLAliasAnalysis/const-expr-gep.ll
llvm/test/Analysis/CFLAliasAnalysis/stratified-attrs-indexing.ll