64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
16 lines
338 B
LLVM
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
|
|
|
|
}
|