mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
18 lines
374 B
LLVM
18 lines
374 B
LLVM
|
; RUN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s
|
||
|
|
||
|
define float @foo0(i32 %a, float %d) nounwind readnone {
|
||
|
entry:
|
||
|
; CHECK-NOT: fabs.s
|
||
|
%sub = fsub float -0.000000e+00, %d
|
||
|
ret float %sub
|
||
|
}
|
||
|
|
||
|
define double @foo1(i32 %a, double %d) nounwind readnone {
|
||
|
entry:
|
||
|
; CHECK: foo1
|
||
|
; CHECK-NOT: fabs.d
|
||
|
; CHECK: jr
|
||
|
%sub = fsub double -0.000000e+00, %d
|
||
|
ret double %sub
|
||
|
}
|