mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
a300c4d7e5
http://reviews.llvm.org/D11075 Patch by Martell Malone Reviewed by Reid Kleckner llvm-svn: 242123
17 lines
406 B
LLVM
17 lines
406 B
LLVM
; 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
|
|
|