forked from OSchip/llvm-project
Write the WARNING message to cout instead of cerr. Writing to cerr causes
Tcl to claim that the program had an error and thus produces errors in the dejagnu testing when its really just a warning. llvm-svn: 28556
This commit is contained in:
parent
413441b9c9
commit
b5c64fc3b6
|
@ -193,7 +193,7 @@ Function *llvm::UpgradeIntrinsicFunction(Function* F) {
|
||||||
// See if its one of the name's we're interested in.
|
// See if its one of the name's we're interested in.
|
||||||
if (Function *R = getUpgradedIntrinsic(F)) {
|
if (Function *R = getUpgradedIntrinsic(F)) {
|
||||||
if (R->getName() != F->getName())
|
if (R->getName() != F->getName())
|
||||||
std::cerr << "WARNING: change " << F->getName() << " to "
|
std::cout << "WARNING: change " << F->getName() << " to "
|
||||||
<< R->getName() << "\n";
|
<< R->getName() << "\n";
|
||||||
return R;
|
return R;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue