summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/Windows/hard-float.ll
blob: 1ce02813dfc2fdd824b2b7b73b7938139ddc1983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s \
; RUN:   | FileCheck %s -check-prefix CHECK-WIN

; RUN: llc -mtriple=thumbv7-windows-gnu -mcpu=cortex-a9 -o - %s \
; RUN:   | FileCheck %s -check-prefix CHECK-GNU

define float @function(float %f, float %g) nounwind {
entry:
  %h = fadd float %f, %g
  ret float %h
}

; CHECK-WIN: vadd.f32 s0, s0, s1

; CHECK-GNU: vadd.f32 s0, s0, s1