[llvm-commits] fix mem2reg to support unwind_to labels

Nick Lewycky nicholas at mxc.ca
Sun Mar 9 01:08:23 PST 2008


PromoteMemoryToRegister tries to iterate across the successors of the 
block's TerminatorInst instead of using the CFG iterators like it ought. 
This patch fixes that oversight.

Please review this change.

Nick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem2reg-unwind.patch
Type: text/x-diff
Size: 1642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080309/6d1b40cd/attachment.patch>


More information about the llvm-commits mailing list