commit | 41afb9da2c808409fb689288bc9b77bc817e235d | [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 | 6bba82702f3a18ac672b99ac1c74e26d126ae061 | |
parent | 03ba93e194d979c95f29c9b602730e522f8facd4 [diff] [blame] |
Remove extra comma in debug output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156219 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 46ea003..594482e 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/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()) {