[llvm] [DSE] Apply initializes attribute to DSE (PR #107282)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 13:23:23 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.
----------------
nikic wrote:
```suggestion
// Returns a list of <MemoryLocation, bool> pairs written by I.
```
https://github.com/llvm/llvm-project/pull/107282
More information about the llvm-commits
mailing list