Debian Codegraph @

flang/test/Integration/aarch64-outline-atomics.f90

raw
1 ! RUN: %flang -S -emit-llvm --target=aarch64-none-none -moutline-atomics -o - %s | FileCheck %s --check-prefixes=CHECKON,CHECKALL
2 ! RUN: %flang -S -emit-llvm --target=aarch64-none-none -mno-outline-atomics -o - %s | FileCheck %s --check-prefixes=CHECKOFF,CHECKALL
3 ! REQUIRES: aarch64-registered-target
4
5 subroutine test()
6 integer :: i
7
8 do i = 1, 10
9 end do
10 end subroutine
11
12 ! CHECKALL-LABEL: define void @test_()
13 ! CHECKALL-SAME: #[[ATTR:[0-9]*]]
14 ! CHECKALL: attributes #[[ATTR]] =
15 ! Use CHECK-SAME to allow arbitrary other attributes to be present.
16 ! CHECKALL-SAME: target-features
17 ! CHECKON-SAME: +outline-atomics
18 ! CHECKOFF-SAME: -outline-atomics