Fix PR3358, a really nasty bug where recursive phi translated
authorChris Lattner <sabre@nondot.org>
Thu, 22 Jan 2009 07:04:01 +0000 (07:04 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 22 Jan 2009 07:04:01 +0000 (07:04 +0000)
commit12a7db383090dd21b1f8488be330a274cffaff3c
tree5f32c47020ecd766654d725265cb1181c98bf721
parentf9eb2d8aefc0ae8361ebe84970b9c1c7082488bc
Fix PR3358, a really nasty bug where recursive phi translated
analyses could be run without the caches properly sorted.  This
can fix all sorts of weirdness.  Many thanks to Bill for coming
up with the 'issorted' verification idea.

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