aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-16 09:31:09 -0700
committerGitHub <noreply@github.com>2023-10-16 09:31:09 -0700
commit0b570ad969b8b03b366198b395b7d21c3f8fe40c (patch)
tree90ab48b0ee48894e056d80bd6385bb2652b8d91a /llvm/lib/CodeGen/PHIElimination.cpp
parent45d151138008c4880c8f9b77ffc43c23e0a9f1cb (diff)
downloadllvm-0b570ad969b8b03b366198b395b7d21c3f8fe40c.zip
llvm-0b570ad969b8b03b366198b395b7d21c3f8fe40c.tar.gz
llvm-0b570ad969b8b03b366198b395b7d21c3f8fe40c.tar.bz2
[CodeGen] Remove LiveVariables::{isPHIJoin,setPHIJoin} (#69128)
The last use of isPHIJoin was removed by: commit fac770b865f59cbe615241dad153ad20d5138b9e Author: Jakob Stoklund Olesen <stoklund@2pi.dk> Date: Sat Feb 9 00:04:07 2013 +0000 so there is no reason to maintain PHIJoins.
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
-rw-r--r--llvm/lib/CodeGen/PHIElimination.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp
index dbb9a9f..10d8378 100644
--- a/llvm/lib/CodeGen/PHIElimination.cpp
+++ b/llvm/lib/CodeGen/PHIElimination.cpp
@@ -330,9 +330,6 @@ void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
if (IncomingReg) {
LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg);
- // Increment use count of the newly created virtual register.
- LV->setPHIJoin(IncomingReg);
-
MachineInstr *OldKill = nullptr;
bool IsPHICopyAfterOldKill = false;