Change dbgs() back to errs() as Chris requested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2009-12-23 23:27:15 +00:00
parent 98d67d7d7e
commit a8e21d485a

View File

@ -63,9 +63,9 @@ static bool VerifySubExpr(Value *Expr,
// If it isn't in the InstInputs list it is a subexpr incorporated into the // If it isn't in the InstInputs list it is a subexpr incorporated into the
// address. Sanity check that it is phi translatable. // address. Sanity check that it is phi translatable.
if (!CanPHITrans(I)) { if (!CanPHITrans(I)) {
dbgs() << "Non phi translatable instruction found in PHITransAddr, either " errs() << "Non phi translatable instruction found in PHITransAddr, either "
"something is missing from InstInputs or CanPHITrans is wrong:\n"; "something is missing from InstInputs or CanPHITrans is wrong:\n";
dbgs() << *I << '\n'; errs() << *I << '\n';
return false; return false;
} }
@ -89,9 +89,9 @@ bool PHITransAddr::Verify() const {
return false; return false;
if (!Tmp.empty()) { if (!Tmp.empty()) {
dbgs() << "PHITransAddr inconsistent, contains extra instructions:\n"; errs() << "PHITransAddr inconsistent, contains extra instructions:\n";
for (unsigned i = 0, e = InstInputs.size(); i != e; ++i) for (unsigned i = 0, e = InstInputs.size(); i != e; ++i)
dbgs() << " InstInput #" << i << " is " << *InstInputs[i] << "\n"; errs() << " InstInput #" << i << " is " << *InstInputs[i] << "\n";
return false; return false;
} }