projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35dd5b0
)
Don't emit useless warning messages.
author
Reid Spencer
<rspencer@reidspencer.com>
Wed, 12 Apr 2006 17:56:16 +0000
(17:56 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Wed, 12 Apr 2006 17:56:16 +0000
(17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27617
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AutoUpgrade.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AutoUpgrade.cpp
b/lib/VMCore/AutoUpgrade.cpp
index b7b481157c89577648339fa20832a5b44906067d..1529d1bf1f7fe8d5e005874b442f10ee48be6042 100644
(file)
--- a/
lib/VMCore/AutoUpgrade.cpp
+++ b/
lib/VMCore/AutoUpgrade.cpp
@@
-192,8
+192,9
@@
static unsigned *getArgumentPermutation(Function* Fn, Function* NewFn) {
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;