The legacy PM alias analysis pipeline by default includes basic-aa.
When running opt -foo-pass under the NPM and -disable-basic-aa is not
specified, use basic-aa.
This decreases the number of check-llvm failures under NPM from 913 to 752.
Differential D86167
[opt][NewPM] Add basic-aa in legacy PM compatibility mode aeubanks on Aug 18 2020, 1:12 PM. Authored by
Details The legacy PM alias analysis pipeline by default includes basic-aa. This decreases the number of check-llvm failures under NPM from 913 to 752.
Diff Detail
Event TimelineComment Actions
This is great!
Comment Actions ltgm with ychen's comment addressed (use AAPipeline empty check and merge with the above check) Comment Actions Add more detail in comments
Comment Actions Add comment
|
I think it is helpful to be specific here, saying something like "AAResultsWrapperPass` by default provide basic-aa in legacy PM."
Could we combine this code with the if (!AAPipeline.empty()) code above? If the AAPipeline is empty, we could make it "basic-aa".