[clang][bytecode] Implement __builtin_reduce_mul (#118287)
[llvm-project.git] / flang / test / Driver / target-cpu-features-invalid.f90
blob288da8d57e81dc7c2f8d0ce3f06f9b215633e5c3
1 ! REQUIRES: aarch64-registered-target, amdgpu-registered-target
3 ! Test that invalid cpu and features are ignored.
5 ! RUN: %flang_fc1 -triple aarch64-linux-gnu -target-cpu supercpu \
6 ! RUN: -o /dev/null -S %s 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID-CPU
8 ! RUN: %flang_fc1 -triple aarch64-linux-gnu -target-feature +superspeed \
9 ! RUN: -o /dev/null -S %s 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID-FEATURE
11 ! RUN: not %flang_fc1 -triple amdgcn-amd-amdhsa -target-feature +wavefrontsize32 \
12 ! RUN: -target-feature +wavefrontsize64 -o /dev/null -S %s 2>&1 | FileCheck %s -check-prefix=CHECK-INVALID-WAVEFRONT
14 ! CHECK-INVALID-CPU: 'supercpu' is not a recognized processor for this target (ignoring processor)
15 ! CHECK-INVALID-FEATURE: '+superspeed' is not a recognized feature for this target (ignoring feature)
16 ! CHECK-INVALID-WAVEFRONT: 'wavefrontsize32' and 'wavefrontsize64' are mutually exclusive