projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor.
[oota-llvm.git]
/
test
/
Feature
/
fold-fpcast.ll
diff --git
a/test/Feature/fold-fpcast.ll
b/test/Feature/fold-fpcast.ll
index cb93ef8c823808345b5f2d15117a38aacb624cd1..cdf8da69f680e9d3bbd5ad83adb85eeec1461cfc 100644
(file)
--- a/
test/Feature/fold-fpcast.ll
+++ b/
test/Feature/fold-fpcast.ll
@@
-1,18
+1,18
@@
; RUN: llvm-as < %s | llvm-dis | not grep bitcast
; RUN: llvm-as < %s | llvm-dis | not grep bitcast
-
int %
test1() {
- ret i
nt bitcast(float 3.7 to int
)
+
define i32 @
test1() {
+ ret i
32 bitcast(float 0x400D9999A0000000 to i32
)
}
}
-
float %
test2() {
- ret float bitcast(i
nt
17 to float)
+
define float @
test2() {
+ ret float bitcast(i
32
17 to float)
}
}
-
long %
test3() {
- ret
long bitcast (double 3.1415926 to long
)
+
define i64 @
test3() {
+ ret
i64 bitcast (double 0x400921FB4D12D84A to i64
)
}
}
-d
ouble %
test4() {
- ret double bitcast (
long
42 to double)
+d
efine double @
test4() {
+ ret double bitcast (
i64
42 to double)
}
}