[Mlir-commits] [mlir] [mlir] MLIR-QUERY slice-matchers implementation (PR #115670)

Denzel-Brian Budii llvmlistbot at llvm.org
Sat Mar 29 08:22:01 PDT 2025


================
@@ -74,7 +74,7 @@ static OpFoldResult getDimValue(OpBuilder &builder, Location loc, Value v,
 
 /// Returns a memref.subview or a tensor.extract_slice based on the type of the
 /// `source`.
-static Operation *getSlice(OpBuilder &b, Location loc, Value source,
+static Operation *getSubviewOrSlice(OpBuilder &b, Location loc, Value source,
                            ArrayRef<OpFoldResult> offsets,
----------------
chios202 wrote:

I renamed this to avoid naming collision with SliceAnalysis::getSlice

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


More information about the Mlir-commits mailing list