PR9055: extend the fix to PR4050 (r70179) to apply to zext and anyext.
[oota-llvm.git] / test / Transforms / LICM / 2005-03-24-LICM-Aggregate-Crash.ll
index 6c5b1a57e1758c1affe321b9bcbb8082df8c720a..91740cf0eb71720c3aea0a7348dd3a4d678794cc 100644 (file)
@@ -1,10 +1,9 @@
-; RUN: llvm-as < %s | opt -licm -disable-output
+; RUN: opt < %s -licm -disable-output
 
-void %test({int}* %P) {
+define void @test({ i32 }* %P) {
        br label %Loop
-
-Loop:
-       free {int}* %P
+Loop:          ; preds = %Loop, %0
+       free { i32 }* %P
        br label %Loop
 }