[llvm] [DSE] Apply initializes attribute to DSE (PR #107282)

Haopeng Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 22:02:11 PDT 2024


================
@@ -1147,13 +1196,26 @@ struct DSEState {
     return MemoryLocation::getOrNone(I);
   }
 
-  std::optional<MemoryLocation> getLocForInst(Instruction *I) {
+  // Returns a list of <MemoryLocation, bool> pairs wrote by I.
----------------
haopliu wrote:

Done!

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


More information about the llvm-commits mailing list