[Mlir-commits] [mlir] [MLIR] `vector.constant_mask` to support unaligned cases (PR #116520)

Han-Chung Wang llvmlistbot at llvm.org
Mon Nov 18 11:06:16 PST 2024


================
@@ -74,6 +74,48 @@ func.func @vector_cst_maskedload_i2(%passthru: vector<5xi2>) -> vector<3x5xi2> {
 
 // -----
 
+func.func @vector_constant_mask_maskedload_i2_multidim(%passthru: vector<5xi2>) -> vector<5xi2> {
+  %0 = memref.alloc() : memref<4x3x5xi2>
+  %cst = arith.constant dense<0> : vector<3x5xi2>
----------------
hanhanW wrote:

`%cst` is unused, can we remove it?

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


More information about the Mlir-commits mailing list