summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/fp_convert.ll
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2013-03-21 21:30:49 +0000
committerRenato Golin <renato.golin@linaro.org>2013-03-21 21:30:49 +0000
commit92ebd49f3fdd3529a091e008dea97e8ebfff5dd1 (patch)
tree43295d36a7f61ae7e7793c52cca7f97f2d80e835 /test/CodeGen/ARM/fp_convert.ll
parentebb5183a2f16abc7c88241bb42412465f52c2a61 (diff)
Fix Darwin NEON FP and increase coverage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/fp_convert.ll')
-rw-r--r--test/CodeGen/ARM/fp_convert.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/fp_convert.ll b/test/CodeGen/ARM/fp_convert.ll
index 51f38906849..3c47eb580ff 100644
--- a/test/CodeGen/ARM/fp_convert.ll
+++ b/test/CodeGen/ARM/fp_convert.ll
@@ -1,7 +1,8 @@
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s -check-prefix=VFP2
; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s -check-prefix=VFP2
-; RUN: llc < %s -march=arm -mcpu=cortex-a8 --enable-unsafe-fp-math | FileCheck %s -check-prefix=NEON
-; RUN: llc < %s -march=arm -mcpu=cortex-a8 | FileCheck %s -check-prefix=VFP2
+; RUN: llc < %s -mtriple=arm-eabi -mcpu=cortex-a8 | FileCheck %s -check-prefix=VFP2
+; RUN: llc < %s -mtriple=arm-eabi -mcpu=cortex-a8 --enable-unsafe-fp-math | FileCheck %s -check-prefix=NEON
+; RUN: llc < %s -mtriple=arm-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=NEON
; RUN: llc < %s -march=arm -mcpu=cortex-a9 | FileCheck %s -check-prefix=VFP2
define i32 @test1(float %a, float %b) {