[PATCH] D29624: [DSE] Basic MemorySSA-backed global DSE
bryant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 19 14:01:54 PST 2017
bryant added a comment.
To-do.
================
Comment at: lib/Transforms/Scalar/DeadStoreElimination.cpp:1529
+ DEBUG(dbgs() << "found non-escaping mem: " << I << "\n");
+ NonEscapes.insert(&I);
+ }
----------------
Maybe use PtrUseVisitor to build `NonEscapes` instead of densely stomping on all instructions. Also for `Returns`.
Repository:
rL LLVM
https://reviews.llvm.org/D29624
More information about the llvm-commits
mailing list