[flang-commits] [flang] [Flang] Adjust the trampoline size for AArch64 and PPC (PR #118678)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Thu Dec 5 06:23:47 PST 2024


Leporacanthicus wrote:

Not a problem for this patch, but it would be REALLY nice if there was a function that could be called in LLVM to get the correct size for a trampoline, rather than each language having to implement their own variant of
```if processorX size = A; 
 else if processorY size = B; ...```

Subject to providing some documentation for "why these values" (I understand what they represent and sort of why they need to be different, but it'd be good to have a source for what they are on different architectures).

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


More information about the flang-commits mailing list