Fix a bug in GVN that Duncan noticed, where we potentially need to insert a
[oota-llvm.git] / test / Assembler / 2002-04-07-InfConstant.llx
index f1479eb4df2d64d97192c18ae3327006f29ee52a..06e649e5c12c1020d766e22ef10f48d5df696895 100644 (file)
@@ -1,11 +1,9 @@
 ; The output formater prints out 1.0e100 as Inf!
 ;
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as | llvm-dis
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
 
-implementation
+define float @test() {
+        %tmp = mul float 0x7FF0000000000000, 1.000000e+01               ; <float> [#uses=1]
+        ret float %tmp
+}
 
-float "test"()
-begin
-       %tmp = mul float 1.0e100, 1.0e1
-       ret float %tmp
-end