[llvm-dev] Structure transformations (splitting/peeling, field reordering) in LLVM

chuanqi.xcq via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 14 02:18:28 PST 2021


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>


More information about the llvm-dev mailing list