mirror of https://github.com/llvm/torch-mlir
[torch-mlir][test] cleanup trailing whitespace in mlir files (#2806)
parent
dc9c624a29
commit
fe836ceebf
|
@ -1,6 +1,6 @@
|
|||
// RUN: torch-mlir-opt -torch-globalize-object-graph -split-input-file %s | FileCheck %s
|
||||
|
||||
// Check that linkage names consist of the dotted path from the root.
|
||||
// Check that linkage names consist of the dotted path from the root.
|
||||
|
||||
// CHECK-LABEL: torch.global_slot.module_initializer {
|
||||
// CHECK: %[[FLOAT:.*]] = torch.constant.float 4.200000e+01
|
||||
|
|
|
@ -2129,7 +2129,7 @@ func.func @torch.aten.floor$canonicalize(%arg0: !torch.vtensor<[?,?],si64>) -> !
|
|||
}
|
||||
|
||||
// CHECK-LABEL: func.func @torch.aten.numel$canonicalize
|
||||
// CHECK-SAME: %[[ARG:.*]]: !torch.vtensor<[3,4],f32>
|
||||
// CHECK-SAME: %[[ARG:.*]]: !torch.vtensor<[3,4],f32>
|
||||
// CHECK-NEXT: %int12 = torch.constant.int 12
|
||||
// CHECK-NEXT: return %int12 : !torch.int
|
||||
func.func @torch.aten.numel$canonicalize(%arg0: !torch.vtensor<[3,4],f32>) -> !torch.int {
|
||||
|
|
|
@ -7,7 +7,7 @@ func.func @quantize_per_tensor(%arg0: !torch.vtensor<[1,3,8,8],f32>) -> !torch.v
|
|||
%min = torch.constant.int -128
|
||||
%max = torch.constant.int 127
|
||||
%dtype = torch.constant.int 1
|
||||
|
||||
|
||||
// CHECK-DAG: %[[SCALE:.+]] = torch.constant.float 5.000000e-01
|
||||
// CHECK-DAG: %[[ZP:.+]] = torch.constant.int 17
|
||||
// CHECK-DAG: %[[MIN:.+]] = torch.constant.int -128
|
||||
|
|
|
@ -316,7 +316,7 @@ func.func @abstractly_interpret_list_ops$mutation_in_child_region(%arg0: !torch.
|
|||
// CHECK: } else {
|
||||
// CHECK: torch.prim.If.yield %[[ARG1]] : !torch.list<int>
|
||||
// CHECK: }
|
||||
// .... and this one don't have the same object identity, but should!
|
||||
// .... and this one don't have the same object identity, but should!
|
||||
// CHECK: %[[VAL_8:.*]] = torch.prim.ListConstruct %[[INT3]], %[[INT3]] : (!torch.int, !torch.int) -> !torch.list<int>
|
||||
// CHECK: %[[VAL_9:.*]] = torch.prim.If %[[ARG2]] -> (!torch.list<int>) {
|
||||
// CHECK: torch.prim.If.yield %[[VAL_8]] : !torch.list<int>
|
||||
|
|
Loading…
Reference in New Issue