From 5d1a9c892500c2e9fecbfedfa66ffe84ff1caf7b Mon Sep 17 00:00:00 2001 From: Kevin Gleason Date: Thu, 15 Feb 2024 18:46:24 -0600 Subject: [PATCH] Remove redundant downgrade test (#2005) This is covered by the invalid 0.17.0 test, don't need it in both. We tend to only have the illegal downgrade test at the boundary where it would occur --- .../vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir b/stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir index 6d1a12ad99e..044a7a698a8 100644 --- a/stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir +++ b/stablehlo/tests/vhlo/vhlo_to_version_downgrade_invalid.0_16_0.mlir @@ -121,11 +121,3 @@ func.func @select_and_scatter_with_promotable_types( tensor<10x24x24x64xf64> func.return } - -// ----- - -// expected-error @+1 {{failed to legalize operation 'vhlo.func_v1' that was explicitly marked illegal}} -func.func @type_per_axis_quantization(%arg0: tensor<2x!quant.uniform>) -> tensor<2x!quant.uniform> { - %0 = stablehlo.add %arg0, %arg0 : tensor<2x!quant.uniform> - func.return %0 : tensor<2x!quant.uniform> -}