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

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Apr 15 14:21:28 PDT 2025


================
@@ -2162,6 +2226,10 @@ class FirConverter : public Fortran::lower::AbstractConverter {
 
     // This call may generate a branch in some contexts.
     genFIR(endDoEval, unstructuredContext);
+
+    // Add attribute(s) on operations in fir::DoLoopOp if necessary
----------------
vzakhari wrote:

Why is there special handling for `fir.do_loop` but not for `fir.if` and other operations with regions?

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


More information about the flang-commits mailing list