[Mlir-commits] [flang] [mlir] [MLIR][LLVM] Enable strict property assembly format (PR #217277)
Krzysztof Drewniak
llvmlistbot at llvm.org
Thu Aug 20 16:02:59 PDT 2026
================
@@ -1396,7 +1417,8 @@ def LLVM_MaskedStoreOp : LLVM_ZeroResultIntrOp<"masked.store"> {
LLVM_VectorOf<I1>:$mask, I32Attr:$alignment,
UnitAttr:$nontemporal);
let builders = [LLVM_VoidResultTypeOpBuilder, LLVM_ZeroResultOpBuilder];
- let assemblyFormat = "$value `,` $data `,` $mask attr-dict `:` "
+ let assemblyFormat = "$value `,` $data `,` $mask `alignment` `=` "
+ "$alignment (`nontemporal` $nontemporal^)? attr-dict `:` "
----------------
krzysz00 wrote:
... Side note stuffed into a comment here: I think a lot of these assembly formats would be cleaner if we had syntax for "optional comma" or the like, so that you could do a
```
(`,`? keyword `=` $keyword^)?
```
or just add a comma-separated oilist
https://github.com/llvm/llvm-project/pull/217277
More information about the Mlir-commits
mailing list