aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-09-05 17:50:36 +0000
committerDale Johannesen <dalej@apple.com>2007-09-05 17:50:36 +0000
commitc2ec2baf3d4de95695e695ee404efc251efba6d4 (patch)
tree24eff24c3171c525448ce5326e6e5c549e4525dc /test/CodeGen/CBackend
parentd4af306aec6b37abf6d5509e107f277b681ec83d (diff)
downloadexternal_llvm-c2ec2baf3d4de95695e695ee404efc251efba6d4.zip
external_llvm-c2ec2baf3d4de95695e695ee404efc251efba6d4.tar.gz
external_llvm-c2ec2baf3d4de95695e695ee404efc251efba6d4.tar.bz2
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
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll b/test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll
index df03c4e..e692005 100644
--- a/test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll
+++ b/test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll
@@ -38,9 +38,9 @@ float %test6(float %F) {
}
int %main(int %argc, sbyte** %argv) {
- %a = call int %test1(float 3.1415926)
+ %a = call int %test1(float 0x400921FB40000000)
%b = call float %test2(int %a)
- %c = call long %test3(double 3.1415926)
+ %c = call long %test3(double 0x400921FB4D12D84A)
%d = call double %test4(long %c)
%e = call double %test5(double 7.0)
%f = call float %test6(float 7.0)