[Openmp-commits] [openmp] [openmp] Add support for arm64ec to libomp (PR #176151)

Martin Storsjö via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 23 08:19:08 PDT 2026


mstorsjo wrote:

> `__kmp_invoke_microtask` is not itself a varargs function, it just takes a function pointer that is varargs. It's calling that function pointer correctly with the arguments that are passed to `__kmp_invoke_microtask` as an array that is the tricky part. I think that should all be fine if we just forward all the arguments on, as the function pointer is just an address for these purposes?

Hmm, right - in that case it might work with a trivial C wrapper for the assembly function indeed. You're quite welcome to try doing it! (Other than that, I'm ok with accepting the PR as is, if you address the one case where it's missing an ifdef for `__arm64ec__` as well.)

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


More information about the Openmp-commits mailing list