1 // REQUIRES: riscv-registered-target
2 /// cc1 -enable-tlsdesc (due to -mtls-dialect=desc) enables TLSDESC.
3 // RUN: %clang_cc1 -triple riscv64 -S -mrelocation-model pic -pic-level 1 -enable-tlsdesc %s -o - | FileCheck %s --check-prefix=DESC
4 // RUN: %clang_cc1 -triple riscv64 -S -mrelocation-model pic -pic-level 1 %s -o - | FileCheck %s --check-prefix=NODESC
9 // DESC-NOT: %tls_gd_pcrel_hi
10 // NODESC: %tls_gd_pcrel_hi
11 // NODESC-NOT: %tlsdesc_hi