Teach memdep to use pointsToConstantMemory to determine that loads
authorDan Gohman <gohman@apple.com>
Fri, 29 Oct 2010 01:14:04 +0000 (01:14 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 29 Oct 2010 01:14:04 +0000 (01:14 +0000)
commitcd5c123a1d8723dbd5d493210c0a56890bffe409
tree143c7635e0e62379d3af28da94ffe7bd14ade69c
parent1cfb04390157cdba29216e0bbc2f396124ae14a1
Teach memdep to use pointsToConstantMemory to determine that loads
from constant memory don't alias any stores.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117636 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
test/Analysis/TypeBasedAliasAnalysis/dse.ll