<div dir="ltr">Hello Mentors,<div><br></div><div>I have a very naive idea to get IPRA woking at link time and thus extending its scope to intermodule. I seek some help if it seems to be a feasible idea.</div><div><br></div><div>So idea is to take advantage of LTO's capability to work with bit code files. LTO can optimize number of bitcode files and combine them into a big module. LTO then generates native code for the big module. </div><div><br></div><div>So does it seem feasible to have clang generates bit code files for the source code and then combine then with LTO and LTOCodeGenerater will use current IPRA infrastructure, so IPRA will be improved as now it can propagate actual regmask for procedures define in other modules (not system/external library calls).  If this is possible then one problem I can sense is requirement of huge memory to hold a big module for large projects. </div><div><br></div><div>If this idea seems feasible please help me to shape a concrete work plan on this.</div><div><br></div><div>Sincerely,</div><div>Vivek</div></div>