[Mlir-commits] [flang] [mlir] [Flang][OpenACC] add loop annotations to acc.loop (PR #216769)

Eugene Epshteyn llvmlistbot at llvm.org
Tue Aug 18 05:49:19 PDT 2026


================
@@ -171,8 +171,9 @@ directives. Directives on loops are used to specify additional transformation to
 be performed by the compiler like enabling vectorisation, unrolling, interchange
 etc.
 
-Currently loop directives are not accepted in the presence of OpenMP or OpenACC
-constructs on the loop. This should be implemented as it is used in some
+Currently loop directives are accepted in the presence of OpenACC loop and
----------------
eugeneepshteyn wrote:

> I could make this wording more general - perhaps saying that acc directives will take precedence when in conflict.

I think that would be sufficient.

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


More information about the Mlir-commits mailing list