[llvm-commits] Sink improvements

Carlo Alberto Ferraris llvm-commits at cafxx.strayorange.com
Sun May 20 05:06:42 PDT 2012


Please find attached a patch that improves the instrcution sinking pass 
so that it is able to handle things such as

a = ...
if (...) {
} else {
}
... = a // first use of a

I added a simple test for this (included in the patch) and make check 
does not report any regression (ubuntu x86 12.04).

B.r.,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120520/9abd04e4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sink.diff
Type: text/x-patch
Size: 9771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120520/9abd04e4/attachment.bin>


More information about the llvm-commits mailing list