Relax dwarf line fragments. This fixes a crash in the included testcase.
[oota-llvm.git] / test / CodeGen / Generic / 2003-05-27-usefsubasbool.ll
index 52df931cb32eb311c123ad094084c1c153f330c9..cc0eb5cd1374a44958ced56a188295f504634fa9 100644 (file)
@@ -1,13 +1,14 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llc < %s
 
-void %QRiterate(double %tmp.212) { 
-entry:          ; No predecessors!
+define void @QRiterate(double %tmp.212) {
+entry:
         br label %shortcirc_next.1
 
-shortcirc_next.1:               ; preds = %entry
-        %tmp.213 = setne double %tmp.212, 0.000000e+00
-        br bool %tmp.213, label %shortcirc_next.1, label %exit.1
+shortcirc_next.1:               ; preds = %shortcirc_next.1, %entry
+        %tmp.213 = fcmp une double %tmp.212, 0.000000e+00               ; <i1> [#uses=1]
+        br i1 %tmp.213, label %shortcirc_next.1, label %exit.1
 
-exit.1:
-       ret void
+exit.1:         ; preds = %shortcirc_next.1
+        ret void
 }
+