Skip to content

Commit a6913f3

Browse files
anchurajgithub-actions[bot]
authored andcommitted
Automerge: [flang][mlir] Cleaning up the atomic-control testcase (#162149)
The testcase tests atomicupdate header which is not required for testing atomic control attributes. This induces failures due to unrelated changes (like changes in atomic update clauses). This PR removes the unrelated test to keep it minimal.
2 parents 78be7e4 + 3fca16e commit a6913f3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

flang/test/Lower/OpenMP/atomic-control-options.f90

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,17 @@ program test
88
threads = 128
99
A = 0
1010
B = 0
11-
!UNSAFE-FP-ATOMICS: omp.atomic.update %{{.*}} : !fir.ref<i32> {
1211
!UNSAFE-FP-ATOMICS: } {atomic_control = #omp.atomic_control<ignore_denormal_mode = true>}
13-
!IGNORE-DENORMAL: omp.atomic.update %{{.*}} : !fir.ref<i32> {
1412
!IGNORE-DENORMAL: } {atomic_control = #omp.atomic_control<ignore_denormal_mode = true>}
15-
!FINE-GRAINED-MEMORY: omp.atomic.update %{{.*}} : !fir.ref<i32> {
1613
!FINE-GRAINED-MEMORY: } {atomic_control = #omp.atomic_control<fine_grained_memory = true>}
17-
!REMOTE-MEMORY: omp.atomic.update %{{.*}} : !fir.ref<i32> {
1814
!REMOTE-MEMORY: } {atomic_control = #omp.atomic_control<remote_memory = true>}
1915
!$omp target parallel num_threads(threads)
2016
!$omp atomic
2117
A = A + 1
2218
!$omp end target parallel
23-
!UNSAFE-FP-ATOMICS: omp.atomic.update %{{.*}} : !fir.ref<i32> {
2419
!UNSAFE-FP-ATOMICS: } {atomic_control = #omp.atomic_control<ignore_denormal_mode = true>}
25-
!IGNORE-DENORMAL: omp.atomic.update %{{.*}} : !fir.ref<i32> {
2620
!IGNORE-DENORMAL: } {atomic_control = #omp.atomic_control<ignore_denormal_mode = true>}
27-
!FINE-GRAINED-MEMORY: omp.atomic.update %{{.*}} : !fir.ref<i32> {
2821
!FINE-GRAINED-MEMORY: } {atomic_control = #omp.atomic_control<fine_grained_memory = true>}
29-
!REMOTE-MEMORY: omp.atomic.update %{{.*}} : !fir.ref<i32> {
3022
!REMOTE-MEMORY: } {atomic_control = #omp.atomic_control<remote_memory = true>}
3123
!$omp target parallel num_threads(threads)
3224
!$omp atomic capture

0 commit comments

Comments
 (0)