[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 14:26:07 PST 2022


arsenm added a comment.

In D139163#4014143 <https://reviews.llvm.org/D139163#4014143>, @MaskRay wrote:

> Which language doesn't allow function pointers but supports the function pointer array made possibly by this patch?

OpenCL forbids function pointers. If you use target_clones in clang, there's no function pointer in the source and the compiler takes care of everything. I want to patch up subtarget specific implementations of builtin functions. It's not for end users


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139163/new/

https://reviews.llvm.org/D139163



More information about the llvm-commits mailing list