[PATCH] D94376: [MemCpyOpt] Enable MemorySSA by default
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 23 00:03:54 PST 2021
asbirlea added a comment.
I'm seeing crashes with this at stage3 in `llvm::MemCpyOptPass::processMemCpyMemCpyDependence` when invoking MSSA's Walker. I should have a repro next week.
================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:496
// TODO: Investigate if this is too expensive at O1.
+ MPM.add(createMemCpyOptPass()); // Remove memcpy / form memset
if (OptLevel > 1) {
----------------
Move above comment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94376/new/
https://reviews.llvm.org/D94376
More information about the llvm-commits
mailing list