[LLVMdev] Cross-Block Dead Store Elimination

Artem Dinaburg artem at trailofbits.com
Fri Oct 24 13:17:21 PDT 2014


It looks like the DeadStoreElimination optimization doesn't work across BasicBlock boundaries. The project I'm working on (https://github.com/trailofbits/mcsema), would tremendously benefit from even simple cross-block DSE. 

There was a patch to do non-local DSE few years ago (http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-January/028751.html), but seems that the patch was never merged.

Is there an existing way to do cross-block DSE?

Was there something wrong with the original non-local DSE patch that it wasn't merged?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141024/158c277f/attachment.sig>

More information about the llvm-dev mailing list