[llvm-commits] [llvm] r110830 - /llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll

Jim Grosbach grosbach at apple.com
Wed Aug 11 10:31:12 PDT 2010


Author: grosbach
Date: Wed Aug 11 12:31:12 2010
New Revision: 110830

URL: http://llvm.org/viewvc/llvm-project?rev=110830&view=rev
Log:
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."


Modified:
    llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll

Modified: llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll?rev=110830&r1=110829&r2=110830&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/cortex-fp.ll Wed Aug 11 12:31:12 2010
@@ -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) {





More information about the llvm-commits mailing list