Undo a patch that breaks llvm-as because the warning message is written to
authorReid Spencer <rspencer@reidspencer.com>
Tue, 30 May 2006 16:34:59 +0000 (16:34 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 30 May 2006 16:34:59 +0000 (16:34 +0000)
stdout when the output of llvm-as is also written to stdout. We'll have to
fix tcl some other way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28557 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AutoUpgrade.cpp

index 0afb5b9951cddbee16236f6b0f466ee3a5079f3e..1529d1bf1f7fe8d5e005874b442f10ee48be6042 100644 (file)
@@ -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::cout << "WARNING: change " << F->getName() << " to "
+      std::cerr << "WARNING: change " << F->getName() << " to "
                 << R->getName() << "\n";
     return R;
   }