Skip to content

Commit e710ee9

Browse files
committed
Fix mlir test that was changed during a merge
Change-Id: Ifd3b1dadcf5761c864e41463663235a8ed62fa4c
1 parent f16babf commit e710ee9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/test/Target/LLVMIR/openmp-llvm.mlir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ llvm.func @test_stand_alone_directives() {
1818
llvm.return
1919
}
2020

21-
// CHECK-LABEL: define void @test_flush_construct(i32 %0)
22-
llvm.func @test_flush_construct(%arg0: i32) {
21+
// CHECK-LABEL: define void @test_flush_construct(ptr %{{[0-9]+}})
22+
llvm.func @test_flush_construct(%arg0: !llvm.ptr<i32>) {
2323
// CHECK: call void @__kmpc_flush(ptr @{{[0-9]+}}
2424
omp.flush
2525

2626
// CHECK: call void @__kmpc_flush(ptr @{{[0-9]+}}
27-
omp.flush (%arg0 : i32)
27+
omp.flush (%arg0 : !llvm.ptr<i32>)
2828

2929
// CHECK: call void @__kmpc_flush(ptr @{{[0-9]+}}
30-
omp.flush (%arg0, %arg0 : i32, i32)
30+
omp.flush (%arg0, %arg0 : !llvm.ptr<i32>, !llvm.ptr<i32>)
3131

3232
%0 = llvm.mlir.constant(1 : i64) : i64
3333
// CHECK: alloca {{.*}} align 4

0 commit comments

Comments
 (0)