I would like to use indirect registers for arrays allocated on the stack (alloca) - such as IReg[index]. Is there a way to do this in LLVM (similar to that of mem2reg optimization)? Thanks, -Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081016/f75ffa3f/attachment.html>
> I would like to use indirect registers for arrays allocated on the stack (alloca) - such as IReg[index]. Is there a way to do this in LLVM (similar to that of mem2reg optimization)?Maybe the scalar replacement of aggregates pass? In opt this is: -scalarrepl - Scalar Replacement of Aggregates Ciao, Duncan.
Apparently Analagous Threads
- FXS - Init Indirect Registers UNSUCCESSFULLY.
- Problem installing FXS module in old digium 4 channel tdm card
- [LLVMdev] Scalar replacement of arrays
- [PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
- A bug in command localboot was introduced in version 6.03.