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

Chao Chen llvmlistbot at llvm.org
Thu Jan 16 07:20:01 PST 2025


================
@@ -318,3 +318,22 @@ 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<4x1xf32>)
+func.func @test_vector_bitcast(%arg0: vector<4x1xf32>) -> vector<4x2xf16> {
----------------
chencha3 wrote:

Yes, I updated it. Thanks for your feedback.

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


More information about the Mlir-commits mailing list