[Mlir-commits] [mlir] [mlir] Return from equals overload (PR #179655)

Ilgar Gamidov llvmlistbot at llvm.org
Wed Feb 4 09:40:22 PST 2026


braam-76 wrote:

> Thanks for the patch! Can you add a test exercising this?

https://github.com/llvm/llvm-project/pull/179655/changes#diff-34396fe567bb19929c2ff26677d42e4ba6e000117554fe6e0d88c9a5a6d02ea6

So I added new file OwningMemRef.cpp in mlir/unittests/ExecutionEngine/ which shows that. If assign overload did not return reference to itself at the end; test would crash (while rebuilding it would say that there is problem)

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


More information about the Mlir-commits mailing list