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

Valentin Clement バレンタイン クレメン llvmlistbot at llvm.org
Tue Apr 29 13:41:36 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) `)`
----------------
clementval wrote:

Yeah maybe it doesn't work with custom parser. Thanks for updating the position. 

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


More information about the Mlir-commits mailing list