Fold (-x + -y) -> -(x+y) which promotes better association, fixing
[oota-llvm.git] / test / Integer / BitCast.ll
index 53f66f66305d6ac364aba437399d7f70ce6ab693..0bef0230e95a227be11bfcfe7a4681b1e56fdb86 100644 (file)
@@ -4,7 +4,6 @@
 
 declare void @"foo"(i31 %i, i1280 %j, i1 %k, float %f)
 
-implementation
 
 ; foo test basic arith operations
 define void @"foo"(i31 %i, i1280 %j, i1 %k, float %f)
@@ -15,10 +14,10 @@ begin
         %t3 = zext i31 %i to i1280
         %t4 = sext i31 %i to i1280
 
-        %t5 = fptoui float 3.14159 to i31
+        %t5 = fptoui float 0x400921FA00000000 to i31
         %t6 = uitofp i31 %t5 to double
 
-        %t7 = fptosi double -1234.5678 to i28
+        %t7 = fptosi double 0xC0934A456D5CFAAD to i28
         %t8 = sitofp i8 -1 to double
         %t9 = uitofp i8 255 to double