Alexey Paznikov via llvm-dev
2021-Dec-14 08:46 UTC
[llvm-dev] Structure transformations (splitting/peeling, field reordering) in LLVM
Hello! I want to implement data layout optimizations, such as structure splitting/peeling, field reordering, etc. I know that such optimizations have not been implemented in LLVM (despite several research works in this field). But maybe somebody knows, whether at least transformations themselves (I mean splitting/peeling/reordering) are implemented in LLVM? I feel that some time ago I saw somewhere these transformations were implemented, maybe in some experimental part of LLVM, but now I can't find it despite my best efforts. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211214/a7ef36f4/attachment.html>
chuanqi.xcq via llvm-dev
2021-Dec-14 10:18 UTC
[llvm-dev] Structure transformations (splitting/peeling, field reordering) in LLVM
Hi, AFAIK, there is SROA pass in LLVM to split structure. But I don't remember there are pass to reorder fields. Thanks, Chuanqi ------------------------------------------------------------------ From:llvm-dev <llvm-dev at lists.llvm.org> Send Time:2021年12月14日(星期二) 16:47 To:llvm-dev <llvm-dev at lists.llvm.org> Subject:[llvm-dev] Structure transformations (splitting/peeling, field reordering) in LLVM Hello! I want to implement data layout optimizations, such as structure splitting/peeling, field reordering, etc. I know that such optimizations have not been implemented in LLVM (despite several research works in this field). But maybe somebody knows, whether at least transformations themselves (I mean splitting/peeling/reordering) are implemented in LLVM? I feel that some time ago I saw somewhere these transformations were implemented, maybe in some experimental part of LLVM, but now I can't find it despite my best efforts. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211214/c036ddd6/attachment.html>