This does a global rename from `flang-new` to `flang`. I also removed/changed any TODOs that I found related to making this change. --------- Co-authored-by: H. Vetinari <h.vetinari@gmx.com> Co-authored-by: Andrzej Warzynski <andrzej.warzynski@arm.com>
16 lines
814 B
Fortran
16 lines
814 B
Fortran
! Test that flang forwards the -moutline-atomics and -mno-outline-atomics.
|
|
! RUN: %flang -moutline-atomics --target=aarch64-none-none -### %s -o %t 2>&1 | FileCheck %s
|
|
! CHECK: "-target-feature" "+outline-atomics"
|
|
|
|
! RUN: %flang -mno-outline-atomics --target=aarch64-none-none -### %s -o %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOOUTLINE
|
|
! CHECK-NOOUTLINE: "-target-feature" "-outline-atomics"
|
|
|
|
! Use Fuchsia to ensure the outline atomics is enabled.
|
|
! RUN: %flang --target=aarch64-none-fuchsia -### %s -o %t 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
|
|
! CHECK-DEFAULT: "-target-feature" "+outline-atomics"
|
|
|
|
! RUN: %flang -mno-outline-atomics --target=x86-none-none -### %s -o %t 2>&1 | FileCheck %s --check-prefix=CHECK-ERRMSG
|
|
! CHECK-ERRMSG: warning: 'x86' does not support '-mno-outline-atomics'
|
|
|
|
|