[Mlir-commits] [mlir] [mlir][vector] Add vector.step operation (PR #96776)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Jul 2 10:33:16 PDT 2024
================
@@ -1171,4 +1171,11 @@ func.func @from_elements(%a: f32, %b: f32) -> (vector<f32>, vector<1xf32>, vecto
// CHECK: vector.from_elements %[[b]], %[[b]], %[[a]], %[[a]] : vector<2x2xf32>
%3 = vector.from_elements %b, %b, %a, %a : vector<2x2xf32>
return %0, %1, %2, %3 : vector<f32>, vector<1xf32>, vector<1x2xf32>, vector<2x2xf32>
-}
\ No newline at end of file
+}
+
+// CHECK-LABEL: @step
+func.func @step() {
+ %0 = vector.step : vector<2xindex>
----------------
banach-space wrote:
Missing `// CHECK: vector.step`?
https://github.com/llvm/llvm-project/pull/96776
More information about the Mlir-commits
mailing list