+; LoongArch does not support emulated tls.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: not lli -no-process-syms -emulated-tls -jit-kind=orc-lazy %s 2>&1 \
; RUN: | FileCheck %s
;
import sys
-if config.root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64', 'mips', 'mipsel', 'mips64', 'mips64el']:
+if config.root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64',
+ 'mips', 'mipsel', 'mips64', 'mips64el',
+ 'loongarch64']:
config.unsupported = True
# FIXME: These tests don't pass with the COFF rtld.
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; LLI.exe used to crash on Windows\X86 when certain single precession
; floating point intrinsics (defined as macros) are used.
; This unit test guards against the failure.
-if config.root.native_target in ['Sparc', 'PowerPC', 'SystemZ', 'Hexagon', 'RISCV', 'LoongArch']:
+if config.root.native_target in ['Sparc', 'PowerPC', 'SystemZ', 'Hexagon', 'RISCV']:
config.unsupported = True
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
+; LoongArch does not support mcjit.
+; UNSUPPORTED: target=loongarch{{.*}}
+
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null