source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/Windows/hard-float.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 406 bytes
Line 
1; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s \
2; RUN:   | FileCheck %s -check-prefix CHECK-WIN
3
4; RUN: llc -mtriple=thumbv7-windows-gnu -mcpu=cortex-a9 -o - %s \
5; RUN:   | FileCheck %s -check-prefix CHECK-GNU
6
7define float @function(float %f, float %g) nounwind {
8entry:
9  %h = fadd float %f, %g
10  ret float %h
11}
12
13; CHECK-WIN: vadd.f32 s0, s0, s1
14
15; CHECK-GNU: vadd.f32 s0, s0, s1
16
Note: See TracBrowser for help on using the repository browser.