HomePhabricator

[MemorySSA] LoopSimplify preserves MemorySSA only when flag is flipped.

Authored by asbirlea on May 14 2019, 11:07 AM.

Description

[MemorySSA] LoopSimplify preserves MemorySSA only when flag is flipped.

LoopSimplify can preserve MemorySSA after r360270.
But the MemorySSA analysis is retrieved and preserved only when the
EnableMSSALoopDependency is set to true. Use the same conditional to
mark the pass as preserved, otherwise subsequent passes will get an
invalid analysis.
Resolves PR41853.

llvm-svn: 360697

Details

Committed
asbirleaMay 14 2019, 11:07 AM
Parents
rG75ad8c5d6310: Fix a release mode warning introduced in r360694
Branches
Unknown
Tags
Unknown