mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
Remove extra comma in debug output.
llvm-svn: 156219
This commit is contained in:
parent
4f57670dab
commit
c169683227
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user