diff options
author | Tim Northover <tnorthover@apple.com> | 2017-01-11 17:33:37 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2017-01-11 17:33:37 +0000 |
commit | 778d0816ab31f09b5971e65f7c2ae5c2a571c0cc (patch) | |
tree | aba81e06d05128d1de66aff9a4ec2a9a5c3c6239 /llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | |
parent | 42e6b4fd98a05fc036e7e071a6d8097b15f3bcb1 (diff) | |
download | bcm5719-llvm-778d0816ab31f09b5971e65f7c2ae5c2a571c0cc.tar.gz bcm5719-llvm-778d0816ab31f09b5971e65f7c2ae5c2a571c0cc.zip |
GlobalISel: only print debug info with -debug. NFC.
Turns out DEBUG(...) has uses even inside NDEBUG checks.
llvm-svn: 291685
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp index 7d405dd92ac..b722177a9f7 100644 --- a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp +++ b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp @@ -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 |