[Mlir-commits] [mlir] [mlir][vector] add support for linearizing vector.bitcast in VectorLinearize (PR #123110)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Jan 21 13:15:39 PST 2025


================
@@ -318,3 +318,68 @@ func.func @test_vector_extract_scalar() {
   %0 = vector.extract %cst[0] : i32 from vector<4xi32>
   return
 }
+
+// -----
+
+// ALL-LABEL: test_vector_bitcast
+// ALL-SAME: %[[ORIG_ARG:.*]]: vector<4x4xf32>
----------------
banach-space wrote:

[nit] Since the name of the argument is `arg0`.
```suggestion
// ALL-SAME: %[[ARG_0:.*]]: vector<4x4xf32>
```

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


More information about the Mlir-commits mailing list