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

Mehdi Amini llvmlistbot at llvm.org
Fri Aug 1 04:07:26 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.
----------------
joker-eph wrote:

Can you amend the comment here as well?

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


More information about the Mlir-commits mailing list