; 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
}
+