Memory dependence analysis was incorrectly stopping to scan for stores to a pointer...
authorVictor Hernandez <vhernandez@apple.com>
Tue, 13 Oct 2009 01:42:53 +0000 (01:42 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Tue, 13 Oct 2009 01:42:53 +0000 (01:42 +0000)
commit5c78736f85579aa6de38cba2742ea13ff9f79e70
tree02cdb4477646ea25599656ced604675bd7a989d4
parent2b7b37a4c929add924018b717ef9fcc058f1b27f
Memory dependence analysis was incorrectly stopping to scan for stores to a pointer at bitcast uses of a malloc call.
It should continue scanning until the malloc call, and this patch fixes that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83931 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
test/Transforms/GVN/2009-11-12-MemDepMallocBitCast.ll [new file with mode: 0644]