[PATCH] D139163: Utils: Add utility pass to lower ifuncs
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 22 05:31:05 PST 2022
arsenm added a comment.
In D139163#4012366 <https://reviews.llvm.org/D139163#4012366>, @MaskRay wrote:
> What's the motivation for piggybacking the functionality on top of ifunc? Does AMDGPU want to use ifunc to do something special?
I'm considering it as an option to deal with some of the builtin library complexity, so it would be used with a restricted set of known functions. I'm not planning on exposing this as a user facing feature. The resolver would be known trivial after link and optimize out most of the time, but needs a fallback where a global constructor will do just fine.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139163/new/
https://reviews.llvm.org/D139163
More information about the llvm-commits
mailing list