Yaron Keren | d1ba2d9 | 2015-07-14 05:51:05 +0000 | [diff] [blame] | 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 |
Saleem Abdulrasool | cd13082 | 2014-04-02 20:32:05 +0000 | [diff] [blame] | 6 | |
| 7 | define float @function(float %f, float %g) nounwind { |
| 8 | entry: |
| 9 | %h = fadd float %f, %g |
| 10 | ret float %h |
| 11 | } |
| 12 | |
Yaron Keren | d1ba2d9 | 2015-07-14 05:51:05 +0000 | [diff] [blame] | 13 | ; CHECK-WIN: vadd.f32 s0, s0, s1 |
| 14 | |
| 15 | ; CHECK-GNU: vadd.f32 s0, s0, s1 |
Saleem Abdulrasool | cd13082 | 2014-04-02 20:32:05 +0000 | [diff] [blame] | 16 | |