[clang][bytecode] Implement __builtin_reduce_mul (#118287)
[llvm-project.git] / flang / test / Driver / target-gpu-features.f90
blobb783574370a0f5c35080e703d747cf925861a335
1 ! REQUIRES: amdgpu-registered-target
3 ! Test that -mcpu are used and that the -target-cpu and -target-features
4 ! are also added to the fc1 command.
6 ! RUN: %flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c %s -### 2>&1 \
7 ! RUN: | FileCheck %s -check-prefix=CHECK-AMDGCN
9 ! CHECK-AMDGCN: "-fc1" "-triple" "amdgcn-amd-amdhsa"
10 ! CHECK-AMDGCN-SAME: "-target-cpu" "gfx902"