This patch adjusts the LTO pipeline in the new PM to run GlobalsAA
before LICM to match the legacy PM.
This fixes a regression where the new PM failed to vectorize loops that
require hoisting/sinking by LICM depending on GlobalsAA info.
Differential D102345
[Passes] Run GlobalsAA before LICM during LTO in new PM. fhahn on May 12 2021, 11:36 AM. Authored by
Details This patch adjusts the LTO pipeline in the new PM to run GlobalsAA This fixes a regression where the new PM failed to vectorize loops that
Diff Detail
Event TimelineComment Actions Yeah, they are only loosely related through the test case, which requires both. I'll submit the MemorySSA change separately first. Comment Actions Hi @fhahn, these changes breaks the new-pm-lto-defaults.ll test on the cross win-x-arm linux cross builders:
The problem is the test expects the following pattern: Running pass: InvalidateAnalysisPass<llvm::AAManager> on foo Would you take care of it? |