[Mlir-commits] [mlir] [mlir][affine] implement inferType for delinearize (PR #74644)

Maksim Levental llvmlistbot at llvm.org
Wed Dec 6 11:05:54 PST 2023


================
@@ -63,10 +64,6 @@ def AffineApplyOp : Affine_Op<"apply", [Pure]> {
   // has a constant builder. That way we wouldn't need to explicitly specify the
   // result types here.
   let builders = [
-    OpBuilder<(ins "AffineMap":$map, "ValueRange":$mapOperands),
-    [{
-      build($_builder, $_state, $_builder.getIndexType(), map, mapOperands);
-    }]>,
----------------
makslevental wrote:

I don't quite understand the relationship between `InferTypeOpInterface` and these being autogenerated but that's what's happening here :shrug:.

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


More information about the Mlir-commits mailing list