[PATCH] D13021: [DeadStoreElimination] Remove dead zero store to calloc initialized memory

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 15:39:09 PDT 2015


reames accepted this revision.
reames added a comment.
This revision is now accepted and ready to land.

LGTM w/one minor comment.


================
Comment at: test/Transforms/DeadStoreElimination/calloc-store.ll:46
@@ +45,3 @@
+  %2 = bitcast i8* %1 to i32*
+  ; This store is dead and should be removed
+  store volatile i32 0, i32* %2, align 4
----------------
Stale comment.


Repository:
  rL LLVM

http://reviews.llvm.org/D13021





More information about the llvm-commits mailing list