Teach BasicAA that a constant expression can't alias memory provably not
commitb341c078583a302c2a8c8b99fe41d1cb9ee38e5b
authorNick Lewycky <nicholas@mxc.ca>
Sat, 14 Nov 2009 06:15:14 +0000 (14 06:15 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 14 Nov 2009 06:15:14 +0000 (14 06:15 +0000)
treefc493f6cbfa5e37bdc5d329f85d483aeabe14328
parentf177bd4187684d81daae0889083f1a17dbea9616
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]