[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / Mem2Reg / 2003-04-10-DFNotFound.ll
index 918431adf1d80d7b4a21e6fb66dab605a706d268..3665483458cce3bc6e164961f1ca65bff4ea3110 100644 (file)
@@ -1,11 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg
+; RUN: opt < %s -mem2reg
 
-implementation   ; Functions:
-
-void %_Z3barv() {
-       %result = alloca int
+define void @_Z3barv() {
+       %result = alloca i32            ; <i32*> [#uses=1]
        ret void
-
-       store int 0, int* %result  ; DF not set!
+               ; No predecessors!
+       store i32 0, i32* %result
        ret void
 }
+