[PATCH] D9766: Add support for complex aggregate store in InstCombine

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 15:56:27 PDT 2015


deadalnix added a comment.

Pretty much all frontend need to manipulate aggregate. clang is no exception. Right now all frontend use a set of trick to make that work. clang does it via doing memcpy of the struct into an alloca and letting SROA do the work.

I can do the same on my own or we can facilite frontend writter life by handling aggregates properly. The later is preferable.


http://reviews.llvm.org/D9766





More information about the llvm-commits mailing list