[llvm-commits] [llvm] r84749 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp
Evan Cheng
evan.cheng at apple.com
Wed Oct 21 00:56:02 PDT 2009
Author: evancheng
Date: Wed Oct 21 02:56:02 2009
New Revision: 84749
URL: http://llvm.org/viewvc/llvm-project?rev=84749&view=rev
Log:
Need a comma after imp-use.
Modified:
llvm/trunk/lib/CodeGen/MachineInstr.cpp
Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=84749&r1=84748&r2=84749&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Wed Oct 21 02:56:02 2009
@@ -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 << ',';
More information about the llvm-commits
mailing list