[flang][openacc] Use OpenACC terminator instead of fir.unreachable after Stop stmt...
[llvm-project.git] / flang / test / Driver / code-gen-rv64.f90
blobf7bdb842559a42c8790e01f6510becd1dd8da9ff
1 ! Test -emit-obj (RISC-V 64)
3 ! REQUIRES: riscv-registered-target
5 ! RUN: %flang_fc1 -triple riscv64-unknown-linux-gnu \
6 ! RUN: -target-feature +d -target-feature +c -emit-obj %s -o - | \
7 ! RUN: llvm-readobj -h - | FileCheck %s
9 ! RUN: %flang --target=riscv64-unknown-linux-gnu -c %s -o - | \
10 ! RUN: llvm-readobj -h - | FileCheck %s
12 ! If Flang failed to emit target-feature info, then Flags will be 0x0.
13 ! CHECK: Arch: riscv64
14 ! CHECK: Flags [ (0x5)
15 ! CHECK-NEXT: EF_RISCV_FLOAT_ABI_DOUBLE (0x4)
16 ! CHECK-NEXT: EF_RISCV_RVC (0x1)
17 ! CHECK-NEXT: ]
18 end program