mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-15 00:38:42 +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) {
|
Function *llvm::UpgradeIntrinsicFunction(Function* F) {
|
||||||
// See if its one of the name's we're interested in.
|
// See if its one of the name's we're interested in.
|
||||||
if (Function *R = getUpgradedIntrinsic(F)) {
|
if (Function *R = getUpgradedIntrinsic(F)) {
|
||||||
std::cerr << "WARNING: change " << F->getName() << " to "
|
if (R->getName() != F->getName())
|
||||||
<< R->getName() << "\n";
|
std::cerr << "WARNING: change " << F->getName() << " to "
|
||||||
|
<< R->getName() << "\n";
|
||||||
return R;
|
return R;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user