Avoid depending on LCSSA implicitly pulling in LoopSimplify.
[oota-llvm.git] / test / Assembler / 2005-02-09-AsmWriterStoreBug.ll
index 3e7f5e44f191e6f1a3ecc6a83beb8f52dcabbe45..4ec17966e792a67f88d6203ae034d7c5205e0d6f 100644 (file)
@@ -4,11 +4,11 @@
 ; store, even though they can be the same.
 
 %RecTy = type %RecTy*
-implementation
 
- void %foo() {
-        %A = malloc %RecTy
-        %B = malloc %RecTy
-        store %RecTy %B, %RecTy %A   ;; Both ops are the same
+define void @foo() {
+        %A = malloc %RecTy              ; <%RecTy> [#uses=1]
+        %B = malloc %RecTy              ; <%RecTy> [#uses=1]
+        store %RecTy %B, %RecTy %A
         ret void
 }
+