Remove the getAttributesAtIndex and getNumAttrs methods in favor of using the getAttr...
[oota-llvm.git] / test / Transforms / LoopSimplify / 2004-02-05-DominatorInfoCorruption.ll
index 4d26b2cb0ee06b348383c7a98fa4dd1156fa2e15..aae8476c8300f626541b8e83b1aa268caddaae26 100644 (file)
@@ -1,17 +1,14 @@
-; RUN: llvm-as < %s | opt -loopsimplify -verify -licm -disable-output
-implementation   ; Functions:
+; RUN: opt < %s -loop-simplify -verify -licm -disable-output
 
-void %.subst_48() {
+define void @.subst_48() {
 entry:
        br label %loopentry.0
-
-loopentry.0:            ; preds = %entry, %loopentry.0
-        br bool false, label %loopentry.0, label %loopentry.2
-
-loopentry.2:            ; preds = %loopentry.0, %loopentry.2
-        %tmp.968 = setle int 0, 3               ; <bool> [#uses=1]
-        br bool %tmp.968, label %loopentry.2, label %UnifiedReturnBlock
-
-UnifiedReturnBlock:             ; preds = %entry, %loopentry.2
-        ret void
+loopentry.0:           ; preds = %loopentry.0, %entry
+       br i1 false, label %loopentry.0, label %loopentry.2
+loopentry.2:           ; preds = %loopentry.2, %loopentry.0
+       %tmp.968 = icmp sle i32 0, 3            ; <i1> [#uses=1]
+       br i1 %tmp.968, label %loopentry.2, label %UnifiedReturnBlock
+UnifiedReturnBlock:            ; preds = %loopentry.2
+       ret void
 }
+