[Mlir-commits] [mlir] [MLIR][LLVM][Mem2Reg] Extends support for partial stores (PR #89740)
Tobias Gysi
llvmlistbot at llvm.org
Tue Apr 23 06:03:55 PDT 2024
================
@@ -601,7 +601,7 @@ void MemorySlotPromoter::removeBlockingUses() {
}
void MemorySlotPromoter::promoteSlot() {
- computeReachingDefInRegion(slot.ptr.getParentRegion(), {});
+ computeReachingDefInRegion(slot.ptr.getParentRegion(), getLazyDefaultValue());
----------------
gysit wrote:
```suggestion
computeReachingDefInRegion(slot.ptr.getParentRegion(), getDefaultValue());
```
I would probably drop the lazy since we do this always now if IUC.
https://github.com/llvm/llvm-project/pull/89740
More information about the Mlir-commits
mailing list