
Moving to the MCJIT subdirectory means they can be gated by a common lit.local.cfg. I remove the `; UNSUPPORTED: target=loongarch{{.*}}` lines because of this (as the logic in `MCJIT/lit.local.cfg` should be sufficient). The move is motivated by my desire to enable more of these tests for RISCV, and it seems like it would be wrong to keep extending the `UNSUPPORTED` lines for these individual tests. This patch does not move the MCJIT tests in the top-level directory that do `-force-interpreter=true`.
19 lines
458 B
LLVM
19 lines
458 B
LLVM
; RUN: %lli -jit-kind=mcjit %s | FileCheck %s
|
|
; RUN: %lli %s | FileCheck %s
|
|
; REQUIRES: fma3
|
|
; CHECK: 12.000000
|
|
|
|
@msg_double = internal global [4 x i8] c"%f\0A\00"
|
|
|
|
declare i32 @printf(ptr, ...)
|
|
|
|
define i32 @main() {
|
|
%fma = tail call double @llvm.fma.f64(double 3.0, double 3.0, double 3.0) nounwind readnone
|
|
|
|
call i32 (ptr,...) @printf(ptr @msg_double, double %fma)
|
|
|
|
ret i32 0
|
|
}
|
|
|
|
declare double @llvm.fma.f64(double, double, double) nounwind readnone
|