summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/cortex-fp.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-11 17:31:12 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-11 17:31:12 +0000
commit7166e622d7c525c0c1a70da99d30215731b846e2 (patch)
tree7b41c58863db24e3166f23a0be46345c9300dbf5 /test/CodeGen/Thumb2/cortex-fp.ll
parente1f0859789034c2de0eb88e0e25fd9e761ad25ba (diff)
downloadllvm-7166e622d7c525c0c1a70da99d30215731b846e2.tar.gz
llvm-7166e622d7c525c0c1a70da99d30215731b846e2.tar.bz2
llvm-7166e622d7c525c0c1a70da99d30215731b846e2.tar.xz
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." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/cortex-fp.ll')
-rw-r--r--test/CodeGen/Thumb2/cortex-fp.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/Thumb2/cortex-fp.ll b/test/CodeGen/Thumb2/cortex-fp.ll
index 636d76ff2c..86822746a0 100644
--- a/test/CodeGen/Thumb2/cortex-fp.ll
+++ b/test/CodeGen/Thumb2/cortex-fp.ll
@@ -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) {