2015-07-14 13:51:05 +08:00
|
|
|
; 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
|
2014-04-03 04:32:05 +08:00
|
|
|
|
|
|
|
define float @function(float %f, float %g) nounwind {
|
|
|
|
entry:
|
|
|
|
%h = fadd float %f, %g
|
|
|
|
ret float %h
|
|
|
|
}
|
|
|
|
|
2015-07-14 13:51:05 +08:00
|
|
|
; CHECK-WIN: vadd.f32 s0, s0, s1
|
|
|
|
|
|
|
|
; CHECK-GNU: vadd.f32 s0, s0, s1
|
2014-04-03 04:32:05 +08:00
|
|
|
|