[Mlir-commits] [mlir] [mlir] Improve mlir-query tool by implementing `getBackwardSlice` and `getForwardSlice` matchers (PR #115670)
Denzel-Brian Budii
llvmlistbot at llvm.org
Mon May 12 11:05:24 PDT 2025
================
@@ -0,0 +1,32 @@
+// RUN: mlir-query %s -c "m getAllDefinitions(hasOpName(\"arith.addf\"),2)" | FileCheck %s
+
+#map = affine_map<(d0, d1) -> (d0, d1)>
+func.func @slice_use_from_above(%arg0: tensor<5x5xf32>, %arg1: tensor<5x5xf32>) {
----------------
chios202 wrote:
I've copied this test from `mlir/test/IR/slice.mlir` I coud at least rename it to "slicing-query" and/or change the contents to avoid duplication?
https://github.com/llvm/llvm-project/pull/115670
More information about the Mlir-commits
mailing list