summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-01-19 08:08:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-01-19 08:08:22 +0000
commit7e9ef4d7763c8e94d693b298cc8707a3e86af931 (patch)
treefb803c0be14c973dbef9cd31ddc6bc88904181fc /llvm/test
parentf58e2a9e4759ec2c8ea4e7a7cfd901203d1bcdd7 (diff)
downloadbcm5719-llvm-7e9ef4d7763c8e94d693b298cc8707a3e86af931.tar.gz
bcm5719-llvm-7e9ef4d7763c8e94d693b298cc8707a3e86af931.zip
Now not UINT_TO_FP is legal (it's marked custom), dag combiner won't
optimize it to a SINT_TO_FP when the sign bit is known zero. X86 isel should perform the optimization itself. llvm-svn: 62504
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/uint_to_fp.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/uint_to_fp.ll b/llvm/test/CodeGen/X86/uint_to_fp.ll
index 3ea7a947b96..148437f3ddb 100644
--- a/llvm/test/CodeGen/X86/uint_to_fp.ll
+++ b/llvm/test/CodeGen/X86/uint_to_fp.ll
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | not grep {sub.*esp}
+; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep cvtsi2ss
; rdar://6034396
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"
OpenPOWER on IntegriCloud