Skip to content

Commit 1823295

Browse files
committed
test rename
1 parent 8387f1c commit 1823295

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/test/Conversion/Normalize/infinite-loop.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: mlir-opt %s --normalize --mlir-use-nameloc-as-prefix 2>&1 | FileCheck %s
22

33
// CHECK-LABEL: module {
4-
// CHECK: func.func @test(%[[ARG0:.*]]: memref<?xi32>, %[[ARG1:.*]]: i32) {
4+
// CHECK: func.func @infinte_loop(%[[ARG0:.*]]: memref<?xi32>, %[[ARG1:.*]]: i32) {
55
// CHECK: %vl15969$e5677$ = arith.constant 1 : i32
66
// CHECK: %vl15390$funcArg1-vl15969$ = arith.addi %[[ARG1:.*]], %vl15969$e5677$ : i32
77
// CHECK: cf.br ^bb1(%vl15390$funcArg1-vl15969$, %vl15390$funcArg1-vl15969$ : i32, i32)
@@ -101,7 +101,7 @@
101101
// CHECK: cf.br ^bb1(%op15672$op27844-vl15894$, %vl15894$blockArg1-vl22288$_69 : i32, i32)
102102
// CHECK: }
103103
// CHECK: }
104-
func.func @test(%arg0: memref<?xi32>, %arg1: i32) {
104+
func.func @infinte_loop(%arg0: memref<?xi32>, %arg1: i32) {
105105
%c1 = arith.constant 1 : i32
106106
%a = arith.addi %arg1, %c1 : i32
107107
cf.br ^bb1(%a, %a : i32, i32)

mlir/test/Conversion/Normalize/reorder.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s --normalize --mlir-use-nameloc-as-prefix 2>&1 | FileCheck %s
22

3-
// CHECK-LABEL: func.func @bar(
3+
// CHECK-LABEL: func.func @reorder(
44
// CHECK-SAME: %[[ARG0:.*]]: i32) -> i32 {
55
// CHECK: %vl14084$51356$ = arith.constant 2 : i32
66
// CHECK: %vl15831$funcArg0-vl14084$ = arith.addi %[[ARG0]], %vl14084$51356$ : i32
@@ -10,7 +10,7 @@
1010
// CHECK: %op27844$op27844-vl14084$ = arith.addi %op27844$vl14084-vl15831$, %vl14084$4c6ac$ : i32
1111
// CHECK: return %op27844$op27844-vl14084$ : i32
1212
// CHECK: }
13-
func.func @bar(%a0: i32) -> i32 {
13+
func.func @reorder(%a0: i32) -> i32 {
1414
%c2 = arith.constant 2 : i32
1515
%c6 = arith.constant 6 : i32
1616
%c8 = arith.constant 8 : i32

0 commit comments

Comments
 (0)