[Mlir-commits] [mlir] [mlir][acc] Fix extraneous space when printing acc.loop (PR #137839)

Razvan Lupusoru llvmlistbot at llvm.org
Tue Apr 29 13:34:34 PDT 2025


================
@@ -2197,9 +2197,9 @@ def OpenACC_LoopOp : OpenACC_Op<"loop",
 
   let hasCustomAssemblyFormat = 1;
   let assemblyFormat = [{
-    custom<CombinedConstructsLoop>($combined)
     oilist(
-        `gang` `` custom<GangClause>($gangOperands, type($gangOperands),
+        `combined` `(` custom<CombinedConstructsLoop>($combined) `)`
----------------
razvanlupusoru wrote:

I couldn't figure out how to implement your suggestion. However I did fix the concern about combined appearing first (it does now). Thanks for the reminder! It is funny because I remember insisting on this.

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


More information about the Mlir-commits mailing list