Speculatively revert "DeadStoreElimination can now trim the size of a store if
[oota-llvm.git] / test / Transforms / ADCE / 2003-09-15-InfLoopCrash.ll
index 13b4f91cd661474668f7c382f0616117e43bdcd3..499ac515e449f93bbbb3b92ccf10749bcd02b6d9 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt < %s -adce -disable-output
 
-int %main() {
-       br label %loop
+define i32 @main() {
+        br label %loop
 
-loop:
-       br label %loop
+loop:           ; preds = %loop, %0
+        br label %loop
 }
+