GlobalISel: only print debug info with -debug. NFC.
Turns out DEBUG(...) has uses even inside NDEBUG checks. llvm-svn: 291685
This commit is contained in:
parent
42e6b4fd98
commit
778d0816ab
|
|
@ -74,7 +74,7 @@ bool RegisterBankInfo::verify(const TargetRegisterInfo &TRI) const {
|
|||
const RegisterBank &RegBank = getRegBank(Idx);
|
||||
assert(Idx == RegBank.getID() &&
|
||||
"ID does not match the index in the array");
|
||||
dbgs() << "Verify " << RegBank << '\n';
|
||||
DEBUG(dbgs() << "Verify " << RegBank << '\n');
|
||||
assert(RegBank.verify(TRI) && "RegBank is invalid");
|
||||
}
|
||||
#endif // NDEBUG
|
||||
|
|
|
|||
Loading…
Reference in New Issue