[llvm] [DeadStoreElimination] Refactor out `pushMemUses`; drop dead check (NFC) (PR #98530)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 13:14:49 PDT 2024


================
@@ -1157,26 +1167,14 @@ struct DSEState {
   }
 
   /// Returns true if \p Def is not read before returning from the function.
-  bool isWriteAtEndOfFunction(MemoryDef *Def) {
+  bool isWriteAtEndOfFunction(MemoryDef *Def, MemoryLocation DefLoc) {
----------------
antoniofrighetto wrote:

Sorry, shouldn't commit after 10pm.

https://github.com/llvm/llvm-project/pull/98530


More information about the llvm-commits mailing list