[llvm-branch-commits] [mlir] [mlir][omp] Add omp.tile operation (PR #160292)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 25 07:54:05 PDT 2025


================
@@ -403,6 +403,7 @@ void DefFormat::genLiteralParser(StringRef value, FmtContext &ctx,
               .Case("]", "RSquare")
               .Case("?", "Question")
               .Case("+", "Plus")
+              .Case("-", "Minus")
----------------
Meinersbur wrote:

I am confident the omission is accidental. The `-` token can already be parsed using `hasCustomAssemblyFormat = 1` and calling
https://github.com/llvm/llvm-project/blob/3bfcbfc327ad5ca8bcec086a6d837f105d58e801/mlir/lib/AsmParser/AsmParserImpl.h#L239-L242
The omission here only means that one could not use the `-` token in `assemblyFormat` to let mlir-tblgen generate the parser for you. It will actually generate a call to the `parseMinus` function above.

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


More information about the llvm-branch-commits mailing list