12 lines · plain
1; RUN: not llc --mtriple=loongarch64 -emulated-tls -mattr=+d \2; RUN: -relocation-model=pic < %s 2>&1 | FileCheck %s3 4; CHECK: LLVM ERROR: the emulated TLS is prohibited5 6@x = thread_local global i8 7, align 27 8define ptr @get_x() nounwind {9entry:10 ret ptr @x11}12