Index: src/IceInst.cpp |
diff --git a/src/IceInst.cpp b/src/IceInst.cpp |
index 656ac172f412fb179dc65e5a090a7840418b9d5b..4a5eb2f30433addd4672f02121b0829a0246d5b0 100644 |
--- a/src/IceInst.cpp |
+++ b/src/IceInst.cpp |
@@ -170,7 +170,7 @@ bool Inst::liveness(InstNumberT InstNumber, LivenessBV &Live, |
if (Dest) { |
SizeT VarNum = Liveness->getLiveIndex(Dest->getIndex()); |
if (Live[VarNum]) { |
- if (!isDestNonKillable()) { |
+ if (!isDestRedefined()) { |
Live[VarNum] = false; |
if (LiveBegin && Liveness->getRangeMask(Dest->getIndex())) { |
LiveBegin->push_back(std::make_pair(VarNum, InstNumber)); |