Skip to content

Commit d52b599

Browse files
committed
fix LIT tests
1 parent ec726ea commit d52b599

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/test/Dialect/Quant/parse-quantile.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ func.func @parse() -> !qalias {
166166

167167
// -----
168168
// Negative scale checking
169-
// CHECK: !quant.quantile<i4:f16:f32, {-1.000000e+00,-8.667000e-01,-7.333000e-01,-6.000000e-01,-4.667000e-01,-3.333000e-01,-2.000000e-01,-0.066699999999999995,0.066699999999999995,2.000000e-01,3.333000e-01,4.667000e-01,6.000000e-01,7.333000e-01,8.667000e-01,1.000000e+00}:{-2.000000e+02,-9.987200e-01:120}>
170-
!qalias = !quant.quantile<i4:f16:f32, {-1.0000,-0.8667,-0.7333,-0.6000,-0.4667,-0.3333,-0.2000,-0.0667,0.0667,0.2000,0.3333,0.4667,0.6000,0.7333,0.8667,1.0000}:{-2.0e+2,-0.99872:120}>
169+
// CHECK: !quant.quantile<i4:f16:f32, {-1.000000e+00,-8.667000e-01,-7.333000e-01,-6.000000e-01,-4.667000e-01,-3.333000e-01,-2.000000e-01,-0.066699999999999995,0.066699999999999995,2.000000e-01,3.333000e-01,4.667000e-01,6.000000e-01,7.333000e-01,8.667000e-01,1.000000e+00}:-2.000000e+02>
170+
!qalias = !quant.quantile<i4:f16:f32, {-1.0000,-0.8667,-0.7333,-0.6000,-0.4667,-0.3333,-0.2000,-0.0667,0.0667,0.2000,0.3333,0.4667,0.6000,0.7333,0.8667,1.0000}:-2.0e+2>
171171
func.func @parse() -> !qalias {
172172
%0 = "foo"() : () -> !qalias
173173
return %0 : !qalias

mlir/test/Dialect/Quant/parse-uniform.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ func.func @parse() -> !qalias {
202202

203203
// -----
204204
// Negative scale checking
205-
// CHECK: !quant.uniform<i8:f32, {-2.000000e+02,-9.987200e-01:120}>
206-
!qalias = !quant.uniform<i8:f32, {-2.0e+2,-0.99872:120}>
205+
// CHECK: !quant.uniform<i8:f32, -2.000000e+02>
206+
!qalias = !quant.uniform<i8:f32, -2.0e+2>
207207
func.func @parse() -> !qalias {
208208
%0 = "foo"() : () -> !qalias
209209
return %0 : !qalias

0 commit comments

Comments
 (0)