diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index 63498e79aef..a86e4f93845 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -1556,7 +1556,7 @@ void UltraSparcRegInfo::OrderAddedInstrns(std::vector &UnordVec, } while(!CouldMoveAll); - if (DebugPrint) { + if (DebugPrint && DEBUG_RA) { cerr << "\nAdded instructions were reordered to:\n"; for(unsigned int i=0; i < OrdVec.size(); i++) cerr << *(OrdVec[i]);