summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-27 01:09:54 +0000
committerDan Gohman <gohman@apple.com>2008-08-27 01:09:54 +0000
commit5ca269e684ec835fb4cb26de2202a28b09d6e3af (patch)
tree6ba783724d08c82dc1c445495a344acc3e804776 /llvm/test/CodeGen/X86/fast-isel.ll
parent54aff7bb235f394830e5468dcd9b6c649312813c (diff)
downloadbcm5719-llvm-5ca269e684ec835fb4cb26de2202a28b09d6e3af.tar.gz
bcm5719-llvm-5ca269e684ec835fb4cb26de2202a28b09d6e3af.zip
Basic FastISel support for floating-point constants.
llvm-svn: 55401
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel.ll b/llvm/test/CodeGen/X86/fast-isel.ll
index 9c10a7b8285..b96406e2c8c 100644
--- a/llvm/test/CodeGen/X86/fast-isel.ll
+++ b/llvm/test/CodeGen/X86/fast-isel.ll
@@ -35,10 +35,11 @@ fast:
%t0 = add double %r, %s
%t1 = mul double %t0, %s
%t2 = sub double %t1, %s
+ %t3 = add double %t2, 707.0
br label %exit
exit:
- ret double %t2
+ ret double %t3
}
define i32 @cast(){
OpenPOWER on IntegriCloud