[llvm-commits] cleanup patch for TwoAddressInstructionPass

Bob Wilson bob.wilson at apple.com
Tue Sep 1 17:49:12 PDT 2009


Evan,

I started looking at the overhaul you suggested.  It is not done yet,  
but I have tried to clean up the existing optimizations for the case  
where a source register is only tied to one destination.  There was a  
lot of redundancy in this code, not to mention the goto.  I've  
rearranged it to try to clean that up.  It is not exactly identical in  
behavior to the previous code, though.  Can you review this before I  
commit it?  I think you have a better understanding of all the issues  
in this code than I do.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tworeg-cleanup.patch
Type: application/octet-stream
Size: 5692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090901/8f77e2db/attachment.obj>


More information about the llvm-commits mailing list