commit | 05472ee54bea84f487c6970b741625c3ca410b01 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Sep 30 23:58:47 2008 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Sep 30 23:58:47 2008 +0000 |
tree | 4e7dfaee8968de0586b972fe38c953c2292cc058 | |
parent | 309c6162c62ba35ded8650a0ea4d2036de7480fd [diff] [blame] |
Mark merged-in VNInfo's as being PHIKilled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56893 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index f6aa44e..c277d56 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/lib/CodeGen/StrongPHIElimination.cpp
@@ -977,6 +977,11 @@ } } + LiveInterval& Int = LI.getOrCreateInterval(I->first); + const LiveRange* LR = + Int.getLiveRangeContaining(LI.getMBBEndIdx(SI->second)); + LR->valno->hasPHIKill = true; + I->second.erase(SI->first); }