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

Igor Laevsky via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 06:53:05 PDT 2015


igor-laevsky created this revision.
igor-laevsky added a reviewer: reames.
igor-laevsky added a subscriber: llvm-commits.
igor-laevsky set the repository for this revision to rL LLVM.

This change allows dead store elimination to remove zero and null stores into memory freshly allocated with calloc-like function.

Philip, this is variation of your old change (http://reviews.llvm.org/D3942). Hopefully all issues with msan should be fixed.

Repository:
  rL LLVM

http://reviews.llvm.org/D13021

Files:
  lib/Transforms/Scalar/DeadStoreElimination.cpp
  test/Transforms/DeadStoreElimination/calloc-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13021.35251.patch
Type: text/x-patch
Size: 7137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150921/909c653f/attachment.bin>


More information about the llvm-commits mailing list