diff --git a/llvm/test/ExecutionEngine/OrcLazy/emulated-tls.ll b/llvm/test/ExecutionEngine/OrcLazy/emulated-tls.ll --- a/llvm/test/ExecutionEngine/OrcLazy/emulated-tls.ll +++ b/llvm/test/ExecutionEngine/OrcLazy/emulated-tls.ll @@ -1,3 +1,6 @@ +; 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 ; diff --git a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg --- a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg +++ b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg @@ -1,6 +1,8 @@ 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. diff --git a/llvm/test/ExecutionEngine/frem.ll b/llvm/test/ExecutionEngine/frem.ll --- a/llvm/test/ExecutionEngine/frem.ll +++ b/llvm/test/ExecutionEngine/frem.ll @@ -1,3 +1,6 @@ +; 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. diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg --- a/llvm/test/ExecutionEngine/lit.local.cfg +++ b/llvm/test/ExecutionEngine/lit.local.cfg @@ -1,4 +1,4 @@ -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. diff --git a/llvm/test/ExecutionEngine/mov64zext32.ll b/llvm/test/ExecutionEngine/mov64zext32.ll --- a/llvm/test/ExecutionEngine/mov64zext32.ll +++ b/llvm/test/ExecutionEngine/mov64zext32.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll b/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll b/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-logical.ll b/llvm/test/ExecutionEngine/test-interp-vec-logical.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-logical.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-logical.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll b/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll b/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll @@ -1,3 +1,6 @@ +; LoongArch does not support mcjit. +; UNSUPPORTED: target=loongarch{{.*}} + ; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null