1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Add a target triple, as the runtime library invocation varies a bit by

platform. It's apparently "bl __muldf3" on linux, for example. Since that's
not what we're checking here, it's more robust to just force a triple. We
just wwant to check that the inline FP instructions are only generated
on cpus that have them."

llvm-svn: 110830
This commit is contained in:
Jim Grosbach 2010-08-11 17:31:12 +00:00
parent c25cd5a82e
commit be1b6086b3

View File

@ -1,6 +1,6 @@
; RUN_TEMPORARILY_DISABLED: llc < %s -march=thumb -mcpu=cortex-m3 | FileCheck %s -check-prefix=CORTEXM3
; RUN_TEMPORARILY_DISABLED: llc < %s -march=thumb -mcpu=cortex-m4 | FileCheck %s -check-prefix=CORTEXM4
; RUN: llc < %s -march=thumb -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -march=thumb -mcpu=cortex-m3 | FileCheck %s -check-prefix=CORTEXM3
; RUN: llc < %s -mtriple=thumbv7-apple-darwin10-march=thumb -mcpu=cortex-m4 | FileCheck %s -check-prefix=CORTEXM4
; RUN: llc < %s -mtriple=thumbv7-apple-darwin10-march=thumb -mcpu=cortex-a8 | FileCheck %s -check-prefix=CORTEXA8
define float @foo(float %a, float %b) {