@@ -7,7 +7,7 @@ func.func @forward_max_pool1d(%arg0: !torch.vtensor<[?,?,?],f32>) -> !torch.vten
77 %int3 = torch.constant.int 3
88 %int4 = torch.constant.int 4
99 %false = torch.constant.bool false
10- // CHECK: %[[NEUTRAL:.*]] = arith.constant 0xFF800000 : f32
10+ // CHECK: %[[NEUTRAL:.*]] = arith.constant -3.40282347E+38 : f32
1111 // CHECK: %[[PADDED:.*]] = tensor.pad %{{.*}} low[0, 0, 3] high[0, 0, 3]
1212 // CHECK: %[[OUT:.*]] = linalg.fill ins(%[[NEUTRAL]] : f32) outs(%{{.*}} : tensor<?x?x?xf32>) -> tensor<?x?x?xf32>
1313 // CHECK: %[[INIT:.*]] = tensor.empty() : tensor<1xf32>
@@ -33,7 +33,7 @@ func.func @forward_max_pool2d(%arg0: !torch.vtensor<[?,?,?,?],f32>) -> !torch.vt
3333 %int7 = torch.constant.int 7
3434 %int8 = torch.constant.int 8
3535 %false = torch.constant.bool false
36- // CHECK: %[[NEUTRAL:.*]] = arith.constant 0xFF800000 : f32
36+ // CHECK: %[[NEUTRAL:.*]] = arith.constant -3.40282347E+38 : f32
3737 // CHECK: %[[PADDED:.*]] = tensor.pad %{{.*}} low[0, 0, 5, 6] high[0, 0, 5, 6]
3838 // CHECK: %[[OUT:.*]] = linalg.fill ins(%[[NEUTRAL]] : f32) outs(%{{.*}} : tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32>
3939 // CHECK: %[[INIT:.*]] = tensor.empty() : tensor<1x2xf32>
@@ -106,7 +106,7 @@ func.func @forward_max_pool3d(%arg0: !torch.vtensor<[?,?,?,?,?],f32>) -> !torch.
106106
107107 %4 = torch.aten.max_pool3d %arg0 , %kernel_size , %stride , %padding , %dilation , %false : !torch.vtensor <[?,?,?,?,?],f32 >, !torch.list <int >, !torch.list <int >, !torch.list <int >, !torch.list <int >, !torch.bool -> !torch.vtensor <[?,?,?,?,?],f32 >
108108
109- // CHECK: %[[MIN_VALUE:.*]] = arith.constant 0xFF800000 : f32
109+ // CHECK: %[[MIN_VALUE:.*]] = arith.constant -3.40282347E+38 : f32
110110 // CHECK: %[[PADDED_INPUT_TENSOR:.*]] = tensor.pad %{{.*}} low[0, 0, 4, 4, 4] high[0, 0, 4, 4, 4] {
111111 // CHECK-NEXT: ^bb0(%{{.*}}: index, %{{.*}}: index, %{{.*}}: index, %{{.*}}: index, %{{.*}}: index):
112112 // CHECK-NEXT: tensor.yield %[[MIN_VALUE:.*]] : f32
0 commit comments