Skip to content

Commit 6ba1955

Browse files
committed
[flang][OpenMP] Fix ignore-target-data.f90 test
Allow the function definition line to match with and without attrbute set number. This fixes build break after PR144534: https://lab.llvm.org/buildbot/#/builders/157/builds/31331 Also move the test to the OpenMP subdirectory where it should have been from the beginning.
1 parent 72de0e4 commit 6ba1955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Lower/ignore-target-data.f90 renamed to flang/test/Lower/OpenMP/ignore-target-data.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
!NORT-NOT: call{{.*}}__tgt_target_data_end_mapper
77

88
!Make sure we generate the body
9-
!LLVM: define internal void @_QFPf(ptr %[[A0:[0-9]+]], ptr %[[A1:[0-9]+]]) {
9+
!LLVM: define internal void @_QFPf(ptr %[[A0:[0-9]+]], ptr %[[A1:[0-9]+]])
1010
!LLVM: %[[V0:[0-9]+]] = load i32, ptr %[[A0]], align 4
1111
!LLVM: %[[V1:[0-9]+]] = load i32, ptr %[[A1]], align 4
1212
!LLVM: %[[V2:[0-9]+]] = add i32 %[[V0]], %[[V1]]

0 commit comments

Comments
 (0)