[Mlir-commits] [mlir] [MLIR] Add single definition multiple regions for mem2reg (PR #89107)

Christian Ulmann llvmlistbot at llvm.org
Thu Apr 18 08:06:44 PDT 2024


================
@@ -166,7 +174,7 @@ class MemorySlotPromoter {
   MemorySlotPromoter(MemorySlot slot, PromotableAllocationOpInterface allocator,
                      RewriterBase &rewriter, DominanceInfo &dominance,
                      const DataLayout &dataLayout, MemorySlotPromotionInfo info,
-                     const Mem2RegStatistics &statistics);
+                     const Mem2RegStatistics &statistics, Operation *def);
----------------
Dinistro wrote:

Nit: Param name does not match the one in the definition.

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


More information about the Mlir-commits mailing list