summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-10 20:47:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-10 20:47:18 +0000
commitaa887653f40d9de67863fadc4f7e6ec2f4469748 (patch)
treeca2d5b2c801f59be6dc36e09acba827a804d4547 /llvm/test/CodeGen
parent79cf603428c2d93d80f1871c24c8c35805225d31 (diff)
downloadbcm5719-llvm-aa887653f40d9de67863fadc4f7e6ec2f4469748.tar.gz
bcm5719-llvm-aa887653f40d9de67863fadc4f7e6ec2f4469748.zip
Revert 66358 for now. It's breaking povray, 450.soplex, and 456.hmmer on x86 / Darwin.
llvm-svn: 66574
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll12
-rw-r--r--llvm/test/CodeGen/X86/pic-cpool.ll6
2 files changed, 3 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll b/llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll
index 28302c0f7b0..e69de29bb2d 100644
--- a/llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll
+++ b/llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll
@@ -1,12 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | not grep xmm
-; This should do a single load into the fp stack for the return, not diddle with xmm registers.
-
-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"
-target triple = "i386-apple-darwin7"
-
-define float @f(i32 %x) nounwind readnone {
-entry:
- %0 = icmp eq i32 %x, 0 ; <i1> [#uses=1]
- %iftmp.0.0 = select i1 %0, float 4.200000e+01, float 2.300000e+01
- ret float %iftmp.0.0
-}
diff --git a/llvm/test/CodeGen/X86/pic-cpool.ll b/llvm/test/CodeGen/X86/pic-cpool.ll
index a2b5d265879..cac31ed2ad7 100644
--- a/llvm/test/CodeGen/X86/pic-cpool.ll
+++ b/llvm/test/CodeGen/X86/pic-cpool.ll
@@ -2,10 +2,10 @@
; RUN: -o %t -f
; RUN: grep _GLOBAL_OFFSET_TABLE_ %t
; RUN: grep piclabel %t | count 3
-; RUN: grep GOTOFF %t | count 1
-; RUN: grep CPI %t | count 2
+; RUN: grep GOTOFF %t | count 2
+; RUN: grep CPI %t | count 4
-define double @foo(i32 %a.u) nounwind {
+define double @foo(i32 %a.u) {
entry:
%tmp = icmp eq i32 %a.u,0
%retval = select i1 %tmp, double 4.561230e+02, double 1.234560e+02
OpenPOWER on IntegriCloud