[Mlir-commits] [mlir] [mlir][vector] Implement lowering for 1D vector.deinterleave operations (PR #93042)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue May 28 01:39:20 PDT 2024


================
@@ -0,0 +1,18 @@
+// RUN: mlir-opt %s -test-lower-to-llvm | \
+// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
+// RUN: -shared-libs=%mlir_c_runner_utils | \
+// RUN: FileCheck %s
+
+func.func @entry() {
+  %step_vector = llvm.intr.experimental.stepvector : vector<[4]xi8>
+  vector.print %step_vector : vector<[4]xi8>
+  // CHECK: ( 0, 1, 2, 3, 4, 5, 6, 7 )
----------------
banach-space wrote:

IIUC, this assumes the runtime value of vscale to be 2. How do we know that that's always going to be the case?

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


More information about the Mlir-commits mailing list