projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2004-02-22-Casts.llx
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2
3
bool %test1(double %X) {
4
%V = cast double %X to bool
5
ret bool %V
6
}
7
8
double %test2(ulong %X) {
9
%V = cast ulong %X to double
10
ret double %V
11
}