[Mlir-commits] [mlir] [mlir][llvm] Add `align` attribute to `llvm.intr.masked.{expandload, compressstore}` (PR #153063)

Erick Ochoa Lopez llvmlistbot at llvm.org
Thu Aug 14 05:59:04 PDT 2025


================
@@ -4116,6 +4148,33 @@ LogicalResult LLVM::masked_scatter::verify() {
   return success();
 }
 
+//===----------------------------------------------------------------------===//
+// masked_expandload (intrinsic)
+//===----------------------------------------------------------------------===//
+
+void LLVM::masked_expandload::build(OpBuilder &builder, OperationState &state,
+                                    mlir::TypeRange resTys, Value ptr,
+                                    Value mask, Value passthru,
+                                    uint64_t align) {
+  ArrayAttr callArgs = getLLVMAlignParamForCompressExpand(builder, true, align);
----------------
amd-eochoalo wrote:

https://github.com/llvm/llvm-project/pull/153063/commits/954a26b1ce4d7bdcd84577080476398aad612328

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


More information about the Mlir-commits mailing list