From eb9bc40f40dfb26eb71aedbc581076d70232a887 Mon Sep 17 00:00:00 2001 From: mlevesquedion Date: Mon, 8 Apr 2024 16:13:20 -0700 Subject: [PATCH] Add missing ReshapeOp common decl (#2169) In https://github.com/openxla/stablehlo/pull/2162 I added an extraDeclaration for this op but forgot to concatenate the common decl. --- stablehlo/dialect/StablehloOps.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stablehlo/dialect/StablehloOps.td b/stablehlo/dialect/StablehloOps.td index bf2581d08f7..21a4a86a894 100644 --- a/stablehlo/dialect/StablehloOps.td +++ b/stablehlo/dialect/StablehloOps.td @@ -2559,7 +2559,7 @@ def StableHLO_ReshapeOp: StableHLO_Op<"reshape", let assemblyFormat = "operands attr-dict `:` functional-type(operands, results)"; - let extraClassDeclaration = [{ + let extraClassDeclaration = commonClassDeclaration # [{ /// Interface method for ConditionallySpeculatable. mlir::Speculation::Speculatability getSpeculatability(); }];