Skip to content

Commit e820cd5

Browse files
Krish GuptaKrish Gupta
authored andcommitted
Simplify Flang atomic tests - remove target requirements
1 parent 4646ca3 commit e820cd5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

flang/test/Lower/OpenMP/atomic-read-complex.f90

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
! Test lowering of atomic read to LLVM IR for complex types.
22
! This is a regression test for issue #165184.
33

4-
! REQUIRES: x86-registered-target || aarch64-registered-target
5-
6-
! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fopenmp %s -o - | FileCheck %s
7-
! RUN: %flang_fc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fopenmp %s -o - | FileCheck %s
4+
! RUN: %flang_fc1 -emit-llvm -fopenmp -o - %s | FileCheck %s
85

96
! Test that atomic read operations with complex types emit the correct
107
! size parameter to __atomic_load:

flang/test/Lower/OpenMP/atomic-write-complex.f90

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
! Test lowering of atomic write to LLVM IR for complex types.
22
! This is a regression test for issue #165184.
33

4-
! REQUIRES: x86-registered-target || aarch64-registered-target
5-
6-
! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fopenmp %s -o - | FileCheck %s
7-
! RUN: %flang_fc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fopenmp %s -o - | FileCheck %s
4+
! RUN: %flang_fc1 -emit-llvm -fopenmp -o - %s | FileCheck %s
85

96
! Test that atomic write operations with complex types emit the correct
107
! size parameter to __atomic_store:

0 commit comments

Comments
 (0)