view test/CodeGen/Mips/fp16static.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents e4204d083e25
children 7d135dc70f03
line wrap: on
line source

; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16

@x = common global float 0.000000e+00, align 4

define void @foo() nounwind {
entry:
  %0 = load float, float* @x, align 4
  %1 = load float, float* @x, align 4
  %mul = fmul float %0, %1
  store float %mul, float* @x, align 4
; CHECK-STATIC16: jal	__mips16_mulsf3
  ret void
}