OSDN Git Service

Teach BasicAA that a constant expression can't alias memory provably not
authorNick Lewycky <nicholas@mxc.ca>
Sat, 14 Nov 2009 06:15:14 +0000 (06:15 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 14 Nov 2009 06:15:14 +0000 (06:15 +0000)
commit20162ac5662a45388911ef1d35ba7559aae368f5
treefc493f6cbfa5e37bdc5d329f85d483aeabe14328
parentfae3e923452b85e72b2c03dd6eacc063f59d81b1
Teach BasicAA that a constant expression can't alias memory provably not
allocated until runtime (such as an alloca). Patch by Hans Wennborg!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
test/Transforms/DeadStoreElimination/const-pointers.ll [new file with mode: 0644]