projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ba93e
)
Remove extra comma in debug output.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 4 May 2012 22:53:26 +0000
(22:53 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 4 May 2012 22:53:26 +0000
(22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156219
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 46ea00383ba4b1dbd8b7f68c4eba83e111c23a90..594482e2ac9cb93b5d2bf2f150cfbe28933589fc 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-264,7
+264,7
@@
void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
NeedComma = true;
}
- if (isKill() || isDead() ||
isUndef(
) || isInternalRead()) {
+ if (isKill() || isDead() ||
(isUndef() && isUse()
) || isInternalRead()) {
if (NeedComma) OS << ',';
NeedComma = false;
if (isKill()) {