[llvm-commits] patch: memory use markers

Chris Lattner clattner at apple.com
Mon Oct 12 12:41:28 PDT 2009


On Oct 12, 2009, at 11:44 AM, Nick Lewycky wrote:

> 2009/10/12 Dan Gohman <gohman at apple.com>
>
> With @llvm.invariant.end being marked readonly and nounwind, and  
> having
> a void return type, it would seem to be trivially dead everywhere.
> Should
> the readonly be removed?
>
> Good catch! Does this rule apply to intrinsics as well? How does  
> @llvm.gcread work?

gcread should be deleted when dead.  Basicaa should special case these  
new intrinsics to say that they always have an empty mod/ref set.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091012/c6ff592d/attachment.html>


More information about the llvm-commits mailing list