summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-03 20:19:44 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-03 20:19:44 +0000
commitbf60aa9db5953dd99c561dfa9323b1e3293a5a85 (patch)
treee6815ef170b7b60b669eafaa489e14bb5ef7590b /lib/CodeGen/LiveInterval.cpp
parent0ab7103e06ee1da7bde5b196a68be77ab49a005d (diff)
downloadllvm-bf60aa9db5953dd99c561dfa9323b1e3293a5a85.tar.gz
llvm-bf60aa9db5953dd99c561dfa9323b1e3293a5a85.tar.bz2
llvm-bf60aa9db5953dd99c561dfa9323b1e3293a5a85.tar.xz
Eliminate the VNInfo::hasPHIKill() flag.
The only real user of the flag was removeCopyByCommutingDef(), and it has been switched to LiveIntervals::hasPHIKill(). All the code changed by this patch was only concerned with computing and propagating the flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r--lib/CodeGen/LiveInterval.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp
index b6d1e5f643..db00d2e2a9 100644
--- a/lib/CodeGen/LiveInterval.cpp
+++ b/lib/CodeGen/LiveInterval.cpp
@@ -737,9 +737,7 @@ void LiveInterval::print(raw_ostream &OS) const {
} else {
OS << vni->def;
if (vni->isPHIDef())
- OS << "-phidef";
- if (vni->hasPHIKill())
- OS << "-phikill";
+ OS << "-phi";
}
}
}