[llvm-commits] [llvm] r156219 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri May 4 15:53:26 PDT 2012
Author: stoklund
Date: Fri May 4 17:53:26 2012
New Revision: 156219
URL: http://llvm.org/viewvc/llvm-project?rev=156219&view=rev
Log:
Remove extra comma in debug output.
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=156219&r1=156218&r2=156219&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Fri May 4 17:53:26 2012
@@ -264,7 +264,7 @@
NeedComma = true;
}
- if (isKill() || isDead() || isUndef() || isInternalRead()) {
+ if (isKill() || isDead() || (isUndef() && isUse()) || isInternalRead()) {
if (NeedComma) OS << ',';
NeedComma = false;
if (isKill()) {
More information about the llvm-commits
mailing list