projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR9055: extend the fix to PR4050 (r70179) to apply to zext and anyext.
[oota-llvm.git]
/
test
/
Integer
/
fold-fpcast_bt.ll
diff --git
a/test/Integer/fold-fpcast_bt.ll
b/test/Integer/fold-fpcast_bt.ll
index c7e31b992c22ca8b9a0e431a2ccb11a259a5f350..8e5f8386d77539e22bbb826866ac0994968d6266 100644
(file)
--- a/
test/Integer/fold-fpcast_bt.ll
+++ b/
test/Integer/fold-fpcast_bt.ll
@@
-1,7
+1,7
@@
; RUN: llvm-as < %s | llvm-dis | not grep bitcast
define i60 @test1() {
; RUN: llvm-as < %s | llvm-dis | not grep bitcast
define i60 @test1() {
- ret i60 fptoui(float
3.7
to i60)
+ ret i60 fptoui(float
0x400D9999A0000000
to i60)
}
define float @test2() {
}
define float @test2() {
@@
-9,7
+9,7
@@
define float @test2() {
}
define i64 @test3() {
}
define i64 @test3() {
- ret i64 bitcast (double
3.1415926
to i64)
+ ret i64 bitcast (double
0x400921FB4D12D84A
to i64)
}
define double @test4() {
}
define double @test4() {
@@
-17,7
+17,7
@@
define double @test4() {
}
define i30 @test5() {
}
define i30 @test5() {
- ret i30 fptoui(float
3.7
to i30)
+ ret i30 fptoui(float
0x400D9999A0000000
to i30)
}
define float @test6() {
}
define float @test6() {
@@
-25,7
+25,7
@@
define float @test6() {
}
define i64 @test7() {
}
define i64 @test7() {
- ret i64 bitcast (double
3.1415926
to i64)
+ ret i64 bitcast (double
0x400921FB4D12D84A
to i64)
}
define double @test8() {
}
define double @test8() {