From e661b1ec9829679ed801d57afc88b4521e8c1eb9 Mon Sep 17 00:00:00 2001 From: Takayuki Kitano Date: Thu, 16 Feb 2023 19:09:26 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AC=E3=82=B8=E3=82=B9=E3=82=BF=E5=89=B2?= =?UTF-8?q?=E3=82=8A=E4=BB=98=E3=81=91=E3=83=90=E3=82=B0=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20#1792=20liveout=E3=83=AC=E3=82=B8=E3=82=B9=E3=82=BF=E3=81=8C?= =?UTF-8?q?=E6=AD=A3=E3=81=97=E3=81=8F=E8=AA=8D=E8=AD=98=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- llvm/lib/CodeGen/SWPipeliner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SWPipeliner.h b/llvm/lib/CodeGen/SWPipeliner.h index 408b0ef7aae7b..2d72b3b7be977 100644 --- a/llvm/lib/CodeGen/SWPipeliner.h +++ b/llvm/lib/CodeGen/SWPipeliner.h @@ -222,7 +222,7 @@ class SwplLoop { /// \param [in] newReg 追加するRegister void addOrgReg2NewReg(Register orgReg, Register newReg) { OrgReg2NewReg[orgReg] = newReg; }; /// SwplLoop::Copies に要素を追加する - void addCopies(MachineInstr *copy) { getCopies().push_back(copy); } + void addCopies(MachineInstr *copy) { getCopies().push_back(copy); liveOuts.insert(copy->getOperand(0).getReg());} /// SwplLoop::Regs に要素を追加する void addRegs(SwplReg *reg) { getRegs().push_back(reg); }