[PATCH] D12269: Add a pass to lift aggregate into allocas so SROA can get rid of them.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 00:48:18 PDT 2015


chandlerc added a comment.

OK, so it is trying to optimize everything that isn't a load or store from an alloca.

I replied to the general concept at the bottom, and I think that still applies -- I don't think it's the right design to create allocas and memcpy instructions just for SROA to clean up. We should directly optimize the aggregate loads and stores.


http://reviews.llvm.org/D12269





More information about the llvm-commits mailing list