[Mlir-commits] [mlir] [mlir][vector] add support for linearizing vector.bitcast in VectorLinearize (PR #123110)
Diego Caballero
llvmlistbot at llvm.org
Wed Jan 15 15:46: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> {
----------------
dcaballe wrote:
Would you mind changing the test so that it doesn't use a unit dim?
https://github.com/llvm/llvm-project/pull/123110
More information about the Mlir-commits
mailing list