Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc < %s -march=mips -o %t
      2 ; RUN: grep abs.s  %t | count 1
      3 ; RUN: grep neg.s %t | count 1
      4 
      5 ; FIXME: Should not emit abs.s or neg.s since these instructions produce
      6 ;        incorrect results if the operand is NaN.
      7 ; REQUIRES: disabled
      8 
      9 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
     10 target triple = "mipsallegrexel-unknown-psp-elf"
     11 
     12 define float @A(float %i, float %j) nounwind  {
     13 entry:
     14 	tail call float @copysignf( float %i, float %j ) nounwind readnone 		; <float>:0 [#uses=1]
     15 	ret float %0
     16 }
     17 
     18 declare float @copysignf(float, float) nounwind readnone 
     19