[llvm] [DSE] Update dereferenceable attributes when adjusting memintrinsic ptr (PR #125073)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 07:52:14 PST 2025


================
@@ -563,6 +563,22 @@ static void shortenAssignment(Instruction *Inst, Value *OriginalDest,
   for_each(LinkedDVRAssigns, InsertAssignForOverlap);
 }
 
+// Helper to trim or drop any dereferencable/dereferencable_or_null attributes
----------------
nikic wrote:

```suggestion
// Helper to trim or drop any dereferenceable/dereferenceable_or_null attributes
```

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


More information about the llvm-commits mailing list