view test/CodeGen/Mips/fneg.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

; RUN: llc  < %s -march=mipsel -mcpu=mips32 | FileCheck %s 

define float @foo0(i32 %a, float %d) nounwind readnone {
entry:
; CHECK-NOT: neg.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: neg.d
; CHECK:     jr
  %sub = fsub double -0.000000e+00, %d
  ret double %sub
}