<div>Hello!<br /> <br /> I am attempting to write a program which can analyze multiple llvm <br /> modules. Specifically, I want to use scalar evolution on different <br /> modules while being able to refer to the results across all modules thus <br /> processed.</div>
<div> </div>
<div>Ideally I don't want to do it as an LTO pass -- I don't know which modules</div>
<div>I need to check at the time the program starts running.<br /> <br /> My current attempt at an MVP is attached. However, it segfaults on line <br /> 41. My suspicion is that the prerequisite passes that ScalarEvolution <br /> relies on aren't being run, but I could be entirely mistaken on this. <br /> Can anyone give me a pointer toward how to do this correctly?<br /> <br /> Thank you!<br /> <br /> Eli</div>