[llvm] [NFC] [DSE] Refactor DSE (PR #100956)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 04:19:27 PDT 2024


================
@@ -806,6 +806,36 @@ bool canSkipDef(MemoryDef *D, bool DefVisibleToCaller) {
   return false;
 }
 
+// A memory location wrapper that represents a MemoryLocation, `MemLoc`,
+// defined by `MemDef`.
+class MemoryLocationWrapper {
+public:
----------------
fhahn wrote:

```suggestion
struct MemoryLocationWrapper {
```

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


More information about the llvm-commits mailing list