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/Feature/fold-fpcast.ll b/test/Feature/fold-fpcast.ll
index 65759b5..66e972b 100644
--- a/test/Feature/fold-fpcast.ll
+++ b/test/Feature/fold-fpcast.ll
@@ -1,7 +1,7 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep bitcast
 
 int %test1() {
-   ret int bitcast(float 3.7 to int)
+   ret int bitcast(float 0x400D9999A0000000 to int)
 }
 
 float %test2() {
@@ -9,7 +9,7 @@
 }
 
 long %test3() {
-  ret long bitcast (double 3.1415926 to long)
+  ret long bitcast (double 0x400921FB4D12D84A to long)
 }
 
 double %test4() {