summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/legalize-libcalls.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-10-29 00:41:52 +0000
committerDan Gohman <gohman@apple.com>2011-10-29 00:41:52 +0000
commit6f3ddef7c51f03945644ad0e69068dfb24d4b092 (patch)
tree55c5e829eb07e614dae3c5e99d7c250c95eda141 /test/CodeGen/X86/legalize-libcalls.ll
parent29ceb7c104155b5ce107a7defa89fd4457dbbdb5 (diff)
downloadllvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.gz
llvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.bz2
llvm-6f3ddef7c51f03945644ad0e69068dfb24d4b092.tar.xz
Revert r143206, as there are still some failing tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/legalize-libcalls.ll')
-rw-r--r--test/CodeGen/X86/legalize-libcalls.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/X86/legalize-libcalls.ll b/test/CodeGen/X86/legalize-libcalls.ll
deleted file mode 100644
index 44aa4b763c..0000000000
--- a/test/CodeGen/X86/legalize-libcalls.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llc -march=x86 < %s
-
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"
-target triple = "i386-apple-macosx10.7.0"
-
-define float @MakeSphere(float %theta.079) nounwind {
-entry:
- %add36 = fadd float %theta.079, undef
- %call = call float @cosf(float %theta.079) nounwind readnone
- %call45 = call float @sinf(float %theta.079) nounwind readnone
- %call37 = call float @sinf(float %add36) nounwind readnone
- store float %call, float* undef, align 8
- store float %call37, float* undef, align 8
- store float %call45, float* undef, align 8
- ret float %add36
-}
-
-declare float @cosf(float) nounwind readnone
-declare float @sinf(float) nounwind readnone