blob: 7824ce33d946f9532586e1733541689c722f9856 [file] [log] [blame]
; RUN: not llc --mtriple=loongarch64 -emulated-tls -mattr=+d \
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck %s
; CHECK: LLVM ERROR: the emulated TLS is prohibited
@x = thread_local global i8 7, align 2
define ptr @get_x() nounwind {
entry:
ret ptr @x
}