From 5affca0763836e15ca15e78ed3a0fd56ef6b2e92 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 21 Oct 2009 07:56:02 +0000 Subject: [PATCH] Need a comma after imp-use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84749 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineInstr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index b9d3ba78794..1f85e922590 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -220,8 +220,10 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const { OS << "imp-"; OS << "def"; NeedComma = true; - } else if (isImplicit()) + } else if (isImplicit()) { OS << "imp-use"; + NeedComma = true; + } if (isKill() || isDead() || isUndef()) { if (NeedComma) OS << ','; -- 2.34.1