Changes in directory llvm/lib/VMCore:
AutoUpgrade.cpp updated: 1.17 -> 1.18 --- Log message: Don't emit useless warning messages. --- Diffs of the changes: (+3 -2) AutoUpgrade.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/AutoUpgrade.cpp diff -u llvm/lib/VMCore/AutoUpgrade.cpp:1.17 llvm/lib/VMCore/AutoUpgrade.cpp:1.18 --- llvm/lib/VMCore/AutoUpgrade.cpp:1.17 Sat Mar 25 12:40:47 2006 +++ llvm/lib/VMCore/AutoUpgrade.cpp Wed Apr 12 12:56:16 2006 @@ -192,8 +192,9 @@ Function *llvm::UpgradeIntrinsicFunction(Function* F) { // See if its one of the name's we're interested in. if (Function *R = getUpgradedIntrinsic(F)) { - std::cerr << "WARNING: change " << F->getName() << " to " - << R->getName() << "\n"; + if (R->getName() != F->getName()) + std::cerr << "WARNING: change " << F->getName() << " to " + << R->getName() << "\n"; return R; } return 0; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits