HomePhabricator

[MemCopyOpt] Enable MemorySSA by default

Authored by nikic on Jan 10 2021, 1:52 AM.

Description

[MemCopyOpt] Enable MemorySSA by default

This enables use of MemorySSA instead of MemDep in MemCpyOpt. To
allow this without significant compile-time impact, the MemCpyOpt
pass is moved directly before DSE (in the cases where this was not
already the case), which allows us to reuse the existing MemorySSA
analysis.

Unlike the MemDep-based implementation, the MemorySSA-based MemCpyOpt
can also perform simple optimizations across basic blocks.

Differential Revision: https://reviews.llvm.org/D94376

Details

Committed
nikicFeb 19 2021, 9:06 AM
Differential Revision
D94376: [MemCpyOpt] Enable MemorySSA by default
Parents
rGc1653b8cc7bd: Hwasan InitPrctl check for error using internal_iserror
Branches
Unknown
Tags
Unknown