1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/CodeGen/Mips/mips64sinttofpsf.ll
Eric Christopher 23f40c9241 Now that we have a soft-float attribute, use it instead of the
hard coded command line option for the Mips soft float tests.

llvm-svn: 236801
2015-05-08 00:57:22 +00:00

16 lines
338 B
LLVM

; RUN: llc -march=mips64 -mcpu=mips64r2 -mattr=+soft-float -O0 < %s | FileCheck %s
define double @foo() #0 {
entry:
%x = alloca i32, align 4
store volatile i32 -32, i32* %x, align 4
%0 = load volatile i32, i32* %x, align 4
%conv = sitofp i32 %0 to double
ret double %conv
; CHECK-NOT: dsll
; CHECK-NOT: dsrl
}