brintos

brintos / llvm-project-archived public Read only

0
0
Text · 653 B · 6c03670 Raw
19 lines · plain
1! RUN: %flang -S -emit-llvm --target=aarch64-none-none -moutline-atomics -o - %s | FileCheck %s --check-prefixes=CHECKON,CHECKALL2! RUN: %flang -S -emit-llvm --target=aarch64-none-none -mno-outline-atomics -o - %s | FileCheck %s --check-prefixes=CHECKOFF,CHECKALL3! REQUIRES: aarch64-registered-target4 5subroutine test()6  integer :: i7 8  do i = 1, 109  end do10end subroutine11 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-features17! CHECKON-SAME: +outline-atomics18! CHECKOFF-SAME: -outline-atomics19