Remove extra comma in debug output.

llvm-svn: 156219
This commit is contained in:
Jakob Stoklund Olesen 2012-05-04 22:53:26 +00:00
parent e2b3744890
commit e89496fe63
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {