mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 18:38:37 +00:00
Do not function resolve intrinsics. This prevents warnings and possible bad
things from happening due to declare bool %llvm.isunordered(double, double) declare bool %llvm.isunordered(float, float) llvm-svn: 14219
This commit is contained in:
parent
81e7cd04ab
commit
8f9fb1d2ea
@ -307,7 +307,8 @@ bool FunctionResolvingPass::run(Module &M) {
|
||||
if (F->use_empty() && F->isExternal()) {
|
||||
M.getFunctionList().erase(F);
|
||||
Changed = true;
|
||||
} else if (!F->hasInternalLinkage() && !F->getName().empty())
|
||||
} else if (!F->hasInternalLinkage() && !F->getName().empty() &&
|
||||
!F->getIntrinsicID())
|
||||
Globals[F->getName()].push_back(F);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user