[LLVMdev] mem2reg

xli3 at uiuc.edu xli3 at uiuc.edu
Sun Sep 29 10:51:01 PDT 2002


I have a question. In the handout, it says that out pass
should enable mem2reg to put as many scalar fields of
structures in virtual registers as possible. Does that just
mean that we should try to replace as many structures as
possible to scalars? or it means something else special to
enable mem2reg to do that? If that's the case, how to enable
mem2reg to do that?

Thanks,
xiaodong 



More information about the llvm-dev mailing list