Files
clang-p2996/llvm/test/ExecutionEngine/mov64zext32.ll
wanglei f2d52c0531 [ExecutionEngine] Enable ExecutionEngine regression tests on LoongArch
This patch also sets `UNSUPPORTED` on some tests which need `mcjit` and
`emulated tls` support.

Depends on D142950

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D142954
2023-02-02 11:16:18 +08:00

22 lines
338 B
LLVM

; LoongArch does not support mcjit.
; UNSUPPORTED: target=loongarch{{.*}}
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i64 @foo() {
ret i64 42
}
define i32 @main() {
%val = call i64 @foo()
%is42 = icmp eq i64 %val, 42
br i1 %is42, label %good, label %bad
good:
ret i32 0
bad:
ret i32 1
}