From b5c64fc3b6772f9ae8045d52e46d615bd2b5ff16 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 30 May 2006 16:05:59 +0000 Subject: [PATCH] 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 --- llvm/lib/VMCore/AutoUpgrade.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/VMCore/AutoUpgrade.cpp b/llvm/lib/VMCore/AutoUpgrade.cpp index 1529d1bf1f7f..0afb5b9951cd 100644 --- a/llvm/lib/VMCore/AutoUpgrade.cpp +++ b/llvm/lib/VMCore/AutoUpgrade.cpp @@ -193,7 +193,7 @@ Function *llvm::UpgradeIntrinsicFunction(Function* F) { // See if its one of the name's we're interested in. if (Function *R = getUpgradedIntrinsic(F)) { if (R->getName() != F->getName()) - std::cerr << "WARNING: change " << F->getName() << " to " + std::cout << "WARNING: change " << F->getName() << " to " << R->getName() << "\n"; return R; }