[llvm-commits] patch: partial DSE

Peter Cooper peter_cooper at apple.com
Mon Oct 31 17:38:58 PDT 2011


Hi

Please review this patch to allow DSE to trim stores as opposed to deleting them.

The logic here is that if the end of the earlier store is dead because of a later store then the length of the earlier store will be trimmed in size to avoid writing dead memory.  The only time i won't do this is if the original store was likely to use vector writes which if shortened would end up as multiple scalar writes and so is less efficient.

Any help removing the magic vector size (16) constant would be good too :)

Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dse.patch
Type: application/octet-stream
Size: 12587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111031/b18da2f1/attachment.obj>


More information about the llvm-commits mailing list