[llvm-branch-commits] [llvm] [DSE] Make DSE eliminate stores to objects with a sized dead_on_return (PR #173694)
Antonio Frighetto via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jan 14 08:05:56 PST 2026
================
@@ -965,6 +965,7 @@ struct DSEState {
// Keep track of all of the objects that are invisible to the caller after
// the function returns.
DenseMap<const Value *, bool> InvisibleToCallerAfterRet;
+ DenseMap<const Value *, uint64_t> InvisibleToCallerAfterRetBounded;
----------------
antoniofrighetto wrote:
No need to erase elements too for InvisibleToCallerAfterRetBounded in deleteDeadInstruction?
https://github.com/llvm/llvm-project/pull/173694
More information about the llvm-branch-commits
mailing list