Fix a couple more bugs in the phi construction by pulling in code that does
authorOwen Anderson <resistor@mac.com>
Thu, 26 Jul 2007 18:26:51 +0000 (18:26 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 26 Jul 2007 18:26:51 +0000 (18:26 +0000)
commit45537917eec15e5c3ef75c0ee2bf8963b02f3a54
treed2b71eba112cbd230c44e07b8b1ef1f8da96ad89
parent42000ef6c7bfd45989f6c76aa9d5be418b8bea42
Fix a couple more bugs in the phi construction by pulling in code that does
almost the same things from LCSSA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/2007-07-26-InterlockingLoops.ll [new file with mode: 0644]
test/Transforms/GVN/2007-07-26-PhiErasure.ll [new file with mode: 0644]