Fix a bug where we incorrectly value numbered the first PHI definition the
authorChris Lattner <sabre@nondot.org>
Sun, 25 Jul 2004 05:45:18 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Jul 2004 05:45:18 +0000 (05:45 +0000)
commit62d4e16a059b5bbcd49b1bcab0d4854e784821f9
tree2b88a8a8e0fcc72caabae4352ff84b1d76991e17
parent6925a9f9cc0b9d34cfbc19d9208c416e293ca516
Fix a bug where we incorrectly value numbered the first PHI definition the
same as the PHI use.  This is not correct as the PHI use value is different
depending on which branch is taken.  This fixes espresso with aggressive
coallescing, and perhaps others.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp