Change all floating constants that are not exactly
representable to use hex format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41722 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Integer/fold-fpcast_bt.ll b/test/Integer/fold-fpcast_bt.ll
index c7e31b9..8e5f838 100644
--- 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() {
- ret i60 fptoui(float 3.7 to i60)
+ ret i60 fptoui(float 0x400D9999A0000000 to i60)
}
define float @test2() {
@@ -9,7 +9,7 @@
}
define i64 @test3() {
- ret i64 bitcast (double 3.1415926 to i64)
+ ret i64 bitcast (double 0x400921FB4D12D84A to i64)
}
define double @test4() {
@@ -17,7 +17,7 @@
}
define i30 @test5() {
- ret i30 fptoui(float 3.7 to i30)
+ ret i30 fptoui(float 0x400D9999A0000000 to i30)
}
define float @test6() {
@@ -25,7 +25,7 @@
}
define i64 @test7() {
- ret i64 bitcast (double 3.1415926 to i64)
+ ret i64 bitcast (double 0x400921FB4D12D84A to i64)
}
define double @test8() {