commit | 5affca0763836e15ca15e78ed3a0fd56ef6b2e92 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Oct 21 07:56:02 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Oct 21 07:56:02 2009 +0000 |
tree | 15c28ad37a9ab96977fbb7d13daaf8952989f58d | |
parent | 7bb38628955e551701c3bf988c2896a6b2c3e788 [diff] [blame] |
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 b9d3ba7..1f85e92 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp
@@ -220,8 +220,10 @@ OS << "imp-"; OS << "def"; NeedComma = true; - } else if (isImplicit()) + } else if (isImplicit()) { OS << "imp-use"; + NeedComma = true; + } if (isKill() || isDead() || isUndef()) { if (NeedComma) OS << ',';