projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add fcopysign instructions
[oota-llvm.git]
/
test
/
CodeGen
/
Generic
/
bool-to-double.ll
diff --git
a/test/CodeGen/Generic/bool-to-double.ll
b/test/CodeGen/Generic/bool-to-double.ll
index b2396ea04cd5107df74c04c0ffa28a412331e199..d6c9e5239516494ce15fff46cfcfda885dfc1188 100644
(file)
--- a/
test/CodeGen/Generic/bool-to-double.ll
+++ b/
test/CodeGen/Generic/bool-to-double.ll
@@
-1,5
+1,6
@@
; RUN: llvm-as < %s | llc
-d
ouble %test(bool
%X) {
- %Y =
cast bool %X to double
+d
efine double @test(i1
%X) {
+ %Y =
uitofp i1 %X to double ; <double> [#uses=1]
ret double %Y
}
+