commit | e89496fe63c179c189558b1d8e2a7e9a8faee904 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 04 22:53:26 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 04 22:53:26 2012 +0000 |
tree | fea1e18ddd04553ef273271051254f717ddc5351 | |
parent | e2b3744890f6394036974c7abe7c1abe5f94d169 [diff] [blame] |
Remove extra comma in debug output. llvm-svn: 156219
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 46ea003..594482e 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -264,7 +264,7 @@ NeedComma = true; } - if (isKill() || isDead() || isUndef() || isInternalRead()) { + if (isKill() || isDead() || (isUndef() && isUse()) || isInternalRead()) { if (NeedComma) OS << ','; NeedComma = false; if (isKill()) {