<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
ping.<br>
<br>
<div class="moz-cite-prefix">On 05/29/2014 11:53 AM, Philip Reames
wrote:<br>
</div>
<blockquote cite="mid:5387821E.3010202@philipreames.com" type="cite">(Again,
this doesn't appear to have gone to the commits list. Anyone have
a clue what's I'm doing wrong here?)
<br>
<br>
Remove dead zero store to calloc initialized memory
<br>
<br>
<a class="moz-txt-link-freetext" href="http://reviews.llvm.org/D3942">http://reviews.llvm.org/D3942</a>
<br>
<br>
Optimize the following IR:
<br>
<br>
%1 = tail call noalias i8* @calloc(i64 1, i64 4)
<br>
%2 = bitcast i8* %1 to i32*
<br>
; This store is dead and should be removed
<br>
store i32 0, i32* %2, align 4
<br>
<br>
Memory returned by calloc is guaranteed to be zero initialized. If
the value being stored is the constant zero (and the store is not
otherwise observable across threads), we can delete the store.
<br>
<br>
Note: I do not have commit rights and will need someone to commit
this change after review.
<br>
<br>
Philip
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<br>
</body>
</html>