[flang-commits] [flang] [RFC][flang] Trampolines for internal procedures. (PR #66157)

Carlos Eduardo Seo via flang-commits flang-commits at lists.llvm.org
Wed Oct 11 09:56:36 PDT 2023


ceseo wrote:

> I'm not opposed to either of those solutions. For AArch64, currently LLVM Trampolines won't work, they are unimplemented, see bug referenced below. Clang uses some other method to make Lambda's and similar nested function calls work.
> 
> I don't think it's a huge amount of work to fix the trampoilines for AArch64 - it just needs a good enough use-case and someone sufficiently motivated to actually implement it. :)
> 
> [JuliaLang/julia#27174](https://github.com/JuliaLang/julia/issues/27174)



> I'm not opposed to either of those solutions. For AArch64, currently LLVM Trampolines won't work, they are unimplemented, see bug referenced below. Clang uses some other method to make Lambda's and similar nested function calls work.
> 
> I don't think it's a huge amount of work to fix the trampoilines for AArch64 - it just needs a good enough use-case and someone sufficiently motivated to actually implement it. :)
> 
> [JuliaLang/julia#27174](https://github.com/JuliaLang/julia/issues/27174)

I started taking a look at this for AArch64. I may have a patch soon implementing the trampolines.

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


More information about the flang-commits mailing list