[llvm-commits] patch: teach sroa to scalarize lifetime intrinsics

Nick Lewycky nicholas at mxc.ca
Tue Jul 12 02:29:45 PDT 2011


The attached patch extends sroa's ability to handle lifetime intrinsics. 
Despite the tests, I'm still not really confident that all the corner 
cases are handled properly and would appreciate a thorough review. I'm 
also unhappy with the innards of RewriteLifetimeIntrinsic() itself, but 
I don't see a way to straighten out the logic. Suggestions appreciated.

Please review! This is another in the series of patches that should help 
PR10121, but there is still more to do in sroa.

Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sroa-lifetime-pt2.patch
Type: text/x-diff
Size: 8900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110712/6820f946/attachment.patch>


More information about the llvm-commits mailing list