mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Don't emit useless warning messages.
llvm-svn: 27617
This commit is contained in:
parent
70404dc8b5
commit
23eae83205
@ -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