From e6c4e919567ba9cca7d47f2c395050e0fdccf45e Mon Sep 17 00:00:00 2001 From: rain2133 <1370973498@qq.com> Date: Wed, 25 Jun 2025 12:27:02 +0800 Subject: [PATCH] fix % repeat --- src/SysYIRPrinter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/SysYIRPrinter.cpp b/src/SysYIRPrinter.cpp index a27faf0..ae5a3e8 100644 --- a/src/SysYIRPrinter.cpp +++ b/src/SysYIRPrinter.cpp @@ -438,7 +438,6 @@ void SysYPrinter::printInst(Instruction *pInst) { case Kind::kPhi: { auto phiInst = dynamic_cast(pInst); - std::cout << "%"; printValue(phiInst->getOperand(0)); std::cout << " = phi "; printType(phiInst->getType());