Revert r198208 and reapply:
[oota-llvm.git] / test / CodeGen / Generic / 2003-05-27-useboolinotherbb.ll
index 73b18edc6d767cd20dd4a081b64a534ad8d34d39..14bb00048d2038f833933b8dc4e0337a84dacd94 100644 (file)
@@ -1,13 +1,13 @@
-; RUN: llvm-as -f %s -o - | llc
+; RUN: llc < %s
 
-
-void %QRiterate(double %tmp.212) { 
-        %tmp.213 = setne double %tmp.212, 0.000000e+00
+define void @QRiterate(double %tmp.212) {
+        %tmp.213 = fcmp une double %tmp.212, 0.000000e+00               ; <i1> [#uses=1]
         br label %shortcirc_next.1
 
-shortcirc_next.1:               ; preds = %entry
-        br bool %tmp.213, label %shortcirc_next.1, label %exit.1
+shortcirc_next.1:               ; preds = %shortcirc_next.1, %0
+        br i1 %tmp.213, label %shortcirc_next.1, label %exit.1
 
-exit.1:
-       ret void
+exit.1:         ; preds = %shortcirc_next.1
+        ret void
 }
+