diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-07-14 05:51:05 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-07-14 05:51:05 +0000 |
commit | d1ba2d9d8bc6d6bd596eb990376d7f0933018aca (patch) | |
tree | 5b577529a3b8ed7da3a07ac4f98f03bc169076d0 /llvm/test/CodeGen/ARM/Windows/hard-float.ll | |
parent | ea671fbdffda6976607997eb2e5d796211cf5003 (diff) | |
download | bcm5719-llvm-d1ba2d9d8bc6d6bd596eb990376d7f0933018aca.tar.gz bcm5719-llvm-d1ba2d9d8bc6d6bd596eb990376d7f0933018aca.zip |
Generate correct asm info for mingw and cygwin ARM targets.
http://reviews.llvm.org/D11075
Patch by Martell Malone
Reviewed by Reid Kleckner
llvm-svn: 242123
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows/hard-float.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/Windows/hard-float.ll | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/hard-float.ll b/llvm/test/CodeGen/ARM/Windows/hard-float.ll index f7b7ec273ce..1ce02813dfc 100644 --- a/llvm/test/CodeGen/ARM/Windows/hard-float.ll +++ b/llvm/test/CodeGen/ARM/Windows/hard-float.ll @@ -1,4 +1,8 @@ -; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s +; 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: @@ -6,5 +10,7 @@ entry: ret float %h } -; CHECK: vadd.f32 s0, s0, s1 +; CHECK-WIN: vadd.f32 s0, s0, s1 + +; CHECK-GNU: vadd.f32 s0, s0, s1 |