diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-19 07:04:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-19 07:04:55 +0000 |
commit | 74de8b1b26b12fda3364382946e519a2e37b6709 (patch) | |
tree | 5d6549f8b0dd6a5c83ede1f90e22fb86e152360f /lib/CodeGen/PHIElimination.cpp | |
parent | 472405e0dc05f6fb8c09af00713ff893fff25b94 (diff) |
There is no need to store the MBB along with the MI any more, we can now
ask instructions for their parent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
-rw-r--r-- | lib/CodeGen/PHIElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index 4b6723797a..3c75f86331 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/lib/CodeGen/PHIElimination.cpp @@ -235,7 +235,7 @@ bool PNE::EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB) { // Is it killed in this successor? for (unsigned i = 0, e = InRegVI.Kills.size(); i != e; ++i) - if (InRegVI.Kills[i].first == SuccMBB) { + if (InRegVI.Kills[i]->getParent() == SuccMBB) { ValueIsLive = true; break; } |