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:
7bb3862
)
Need a comma after imp-use.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 21 Oct 2009 07:56:02 +0000
(07:56 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 21 Oct 2009 07:56:02 +0000
(07:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84749
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 b9d3ba78794ef808c63bb96525b357401dc53fa0..1f85e9225909fe593567222d3102093c7a5d48ce 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-220,8
+220,10
@@
void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
OS << "imp-";
OS << "def";
NeedComma = true;
- } else if (isImplicit())
+ } else if (isImplicit())
{
OS << "imp-use";
+ NeedComma = true;
+ }
if (isKill() || isDead() || isUndef()) {
if (NeedComma) OS << ',';