1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Regression/CodeGen/ARM/fpconv.ll

16 lines
310 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=arm &&
; RUN: llvm-as < %s | llc -march=arm | grep fcvtds &&
; RUN: llvm-as < %s | llc -march=arm | grep fcvtsd
float %f(double %x) {
entry:
%tmp1 = cast double %x to float
ret float %tmp1
}
double %g(float %x) {
entry:
%tmp1 = cast float %x to double
ret double %tmp1
}