mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eaf10c8242
commit
e5ad50b2e8
@ -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…
Reference in New Issue
Block a user