[flang-commits] [flang] [flang] Implement !DIR$ [NO]INLINE and FORCEINLINE directives (PR #134350)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu May 15 02:50:29 PDT 2025


tblah wrote:

Apologies if I have misunderstood. I thought this patch was blocked because you were unsure how to map from this directive being applied to call operations but llvm ir requiring them to be applied to function operations. ([1](https://llvm.org/docs/LangRef.html#function-attributes)) ([2](https://llvm.org/docs/LangRef.html#call-site-attributes))

I am not a maintainer of the LLVM MLIR dialect, but I am surprised that those patches were accepted when they do not appear to model what is legal in LLVM IR. How are those new MLIR attributes translated into LLVM IR? If this works correctly, what is blocking this patch/how can I help?

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


More information about the flang-commits mailing list