[PATCH] D87414: [DSE] Make sure that DSE+MSSA can handle masked stores
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 07:20:15 PDT 2020
kparzysz added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1849
- if (auto *CB = dyn_cast<CallBase>(UseInst))
+ if (auto *CB = dyn_cast<CallBase>(UseInst)) {
if (CB->onlyAccessesInaccessibleMemory())
----------------
fhahn wrote:
> unrelated change?
Leftover from the "mayReadFromMemory" function from the previous diff. I'll remove it before committing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87414/new/
https://reviews.llvm.org/D87414
More information about the llvm-commits
mailing list