From: Evan Cheng Date: Wed, 21 Oct 2009 07:56:02 +0000 (+0000) Subject: Need a comma after imp-use. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5affca0763836e15ca15e78ed3a0fd56ef6b2e92;p=oota-llvm.git Need a comma after imp-use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84749 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 << ',';