[Mlir-commits] [mlir] [mlir][complex] Add fold for 0+a -> a (PR #212199)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jul 28 05:30:46 PDT 2026


=?utf-8?q?Mattéo?= Rizza Murgier,=?utf-8?q?Mattéo?= Rizza Murgier
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/212199 at github.com>


Brythzz wrote:

@PragmaTwice you're right, I had wrongly assumed this shouldn't be commutative. I also removed the existing redundant pattern `b+(a-b) -> a`.

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


More information about the Mlir-commits mailing list