[PATCH] D78830: [DSE] Add stat for remaining stores after DSE.
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 17:53:58 PDT 2020
asbirlea added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1984
+ for (auto &I : instructions(F))
+ NumRemainingStores += isa<StoreInst>(&I);
+#endif
----------------
Nit: for the MemorySSA case, this could walk def chains; but perhaps we don't care much about performance when getting stats?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78830/new/
https://reviews.llvm.org/D78830
More information about the llvm-commits
mailing list