aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveVariables.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/LiveVariables.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/LiveVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index 077276b..6b983b6 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/lib/CodeGen/LiveVariables.cpp
@@ -601,7 +601,6 @@ bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
PhysRegDef.assign(NumRegs, nullptr);
PhysRegUse.assign(NumRegs, nullptr);
PHIVarInfo.resize(MF->getNumBlockIDs());
- PHIJoins.clear();
// FIXME: LiveIntervals will be updated to remove its dependence on
// LiveVariables to improve compilation time and eliminate bizarre pass