mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-15 10:39:47 +00:00
Don't emit useless warning messages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35dd5b0f58
commit
403d43a1a9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user