[PATCH] D87414: [DSE] Make sure that DSE+MSSA can handle masked stores

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 06:56:44 PDT 2020


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM, thanks!



================
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())
----------------
unrelated change?


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