[Mlir-commits] [mlir] [mlir][vector][memref] Adding support for volatile flags in memref/vector loads/stores (PR #179794)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Feb 13 08:06:55 PST 2026


================
@@ -1715,24 +1724,27 @@ def Vector_LoadOp : Vector_Op<"load", [
       [MemRead]>:$base,
       Variadic<Index>:$indices,
       DefaultValuedOptionalAttr<BoolAttr, "false">:$nontemporal,
+      DefaultValuedOptionalAttr<BoolAttr, "false">:$volatile_,
       OptionalAttr<IntValidAlignment<I64Attr>>: $alignment);
 
   let builders = [
     OpBuilder<(ins "VectorType":$resultType,
                    "Value":$base,
                    "ValueRange":$indices,
                    CArg<"bool", "false">:$nontemporal,
+                   CArg<"bool", "false">:$volatile_,
----------------
banach-space wrote:

`isVolatile`?
https://github.com/llvm/llvm-project/blob/56eb89eddd921400e82d958aa32c1ed54b154362/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td?plain=1#L456

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


More information about the Mlir-commits mailing list