History log of /llvm-project/llvm/test/Transforms/GlobalOpt/resolve-static-ifunc.ll (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7c946f04 21-Jun-2024 Alexandros Lamprineas <alexandros.lamprineas@arm.com>

[GlobalOpt] Don't resolve aliased ifuncs with undefined resolvees. (#96220)

Fixes https://github.com/llvm/llvm-project/issues/96197.

A global alias should always point to a definition. Ifuncs are

[GlobalOpt] Don't resolve aliased ifuncs with undefined resolvees. (#96220)

Fixes https://github.com/llvm/llvm-project/issues/96197.

A global alias should always point to a definition. Ifuncs are
definitions, so far so good. However an ifunc may be statically resolved
to a function that is declared but not defined in the translation unit.

With this patch we perform static resolution if:
* the resolvee is defined, else if
* none of the ifunc users is a global alias

show more ...


Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2
# e9763854 06-Feb-2024 Jon Roelofs <jonathan_roelofs@apple.com>

[llvm][GlobalOpt] Optimize statically resolvable IFuncs (#80606)