[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.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
!NORT-NOT: call{{.*}}__tgt_target_data_end_mapper
|
||||
|
||||
!Make sure we generate the body
|
||||
!LLVM: define internal void @_QFPf(ptr %[[A0:[0-9]+]], ptr %[[A1:[0-9]+]]) {
|
||||
!LLVM: define internal void @_QFPf(ptr %[[A0:[0-9]+]], ptr %[[A1:[0-9]+]])
|
||||
!LLVM: %[[V0:[0-9]+]] = load i32, ptr %[[A0]], align 4
|
||||
!LLVM: %[[V1:[0-9]+]] = load i32, ptr %[[A1]], align 4
|
||||
!LLVM: %[[V2:[0-9]+]] = add i32 %[[V0]], %[[V1]]
|
||||
Reference in New Issue
Block a user