[llvm] [FMV][GlobalOpt] Statically resolve calls to versioned functions. (PR #87939)

Alexandros Lamprineas via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 10:05:09 PST 2024


labrinea wrote:

> Why do we need to avoid optimizing non-fmv ifuncs?

This optimization is only valid for FMV resolvers because we know what they do: they check the presence of FMV feature bits set by the runtime. Other ifunc resolvers may do completely different things that have nothing to do with the target-features of the caller/callee.

https://github.com/llvm/llvm-project/pull/87939


More information about the llvm-commits mailing list