[Passes] Use MemorySSA for LICM during LTO.
authorFlorian Hahn <flo@fhahn.com>
Thu, 13 May 2021 10:59:41 +0000 (11:59 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 13 May 2021 11:16:41 +0000 (12:16 +0100)
commit3eaf2358556d377ae5a8f2c942d92af1c1521cfc
treeed7167e3de19927fe55a172dde5305fe1d1f56e0
parent4624412367f9b591fe90ecec8feed7209cd222ac
[Passes] Use MemorySSA for LICM during LTO.

Split off from D102345 to commit this separately from other changes in
the patch. This aligns the behavior of the new PM with the legacy PM
for LTO, with respect to running LICM.

Together with the remaining changes in D102345, this fixes new PM
regressions where we fail to vectorize loops that are vectorized with
the legacy PM.
llvm/lib/Passes/PassBuilder.cpp
llvm/test/Other/new-pm-lto-defaults.ll