[Mlir-commits] [mlir] [mlir][vector] Add support for unrolling vector.bitcast ops. (PR #94064)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Jun 3 02:57:20 PDT 2024


================
@@ -0,0 +1,35 @@
+// RUN: mlir-opt %s --transform-interpreter | FileCheck %s
+
+func.func @vector_bitcast_2d(%arg0: vector<2x4xi32>) -> vector<2x2xi64> {
+  %0 = vector.bitcast %arg0 : vector<2x4xi32> to vector<2x2xi64>
+  return %0 : vector<2x2xi64>
+}
----------------
banach-space wrote:

Would it be possible to tests 1d and 0d vectors as well? 

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


More information about the Mlir-commits mailing list