summaryrefslogtreecommitdiff
path: root/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
commit10df0fa73e396bbc93a8940e8b53827390c54d10 (patch)
treeb0cd0ac5c51a8492799f9e9c5a0869fb28e4b9e2 /test/CodeGen/X86/fast-isel.ll
parent96c5ea878c96ce123c2c84bafcfb70032b56c9ab (diff)
downloadllvm-10df0fa73e396bbc93a8940e8b53827390c54d10.tar.gz
llvm-10df0fa73e396bbc93a8940e8b53827390c54d10.tar.bz2
llvm-10df0fa73e396bbc93a8940e8b53827390c54d10.tar.xz
Basic FastISel support for floating-point constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel.ll')
-rw-r--r--test/CodeGen/X86/fast-isel.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll
index 9c10a7b828..b96406e2c8 100644
--- a/test/CodeGen/X86/fast-isel.ll
+++ b/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(){