[Mlir-commits] [mlir] Avoid unnecessary erasing of constant Locs (PR #151573)

Majid Dadashi llvmlistbot at llvm.org
Fri Aug 1 10:39:11 PDT 2025


================
@@ -155,10 +155,12 @@ bool OperationFolder::insertKnownConstant(Operation *op, Attribute constValue) {
   // constant we unique'd (i.e. one we inserted), then we don't need to do
   // anything. Otherwise, we move the constant to the insertion block.
----------------
majiddadashi wrote:

Done. 

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


More information about the Mlir-commits mailing list