Displaying 2 results from an estimated 2 matches for "createandersenspass".
2008 Aug 15
3
[LLVMdev] Problems understanding alias analysis validation logic
.... My understanding from reading the documentation is that when a pass gets invalidated, it should be rerun before any other passes that requires it. Here is a simple example of the problem I am seeing:
PassManager passManager;
passManager.add(new TargetData(getTargetData()));
passManager.add(createAndersensPass());
passManager.add(createIPSCCPPass());
passManager.add(createGVNPass()); <----will use BasicAA not Andersens
...
In this case, I would expect that the GVN pass would use the andersen AA results, but it doesn't; it uses the results from a Basic AA pass. Reordering the passes like belo...
2008 Jan 25
1
[LLVMdev] Something about the andersens pass
...s:
{
PassManager PM;
PM.add(new TargetData(*EE->getTargetData()));
PM.add(createInstructionCombiningPass());
PM.run(*qModule);
}
I then run another pass:
PassManager PM;
PM.add(new TargetData(*EE->getTargetData()));
PM.add(createVerifierPass());
//PM.add(createAndersensPass()); // Seems to break dynamic casts
in combo with load value numbering
PM.add(createLoadValueNumberingPass());
PM.add(createGCSEPass());
PM.add(createAggressiveDCEPass());
PM.add(createDeadInstEliminationPass());
PM.run(*qModule);
Next, I call my monster function and it works as...