[Mlir-commits] [mlir] [mlir] fix Undefined behavior in CastInfo::castFailed with From=<MLIRinterface> (PR #87145)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Apr 1 06:37:50 PDT 2024


lipracer wrote:

After I specialized the `CastInfo` class, it can support the conversion from `OpInterface` to `OpInterface`. However, whether it is gcc-9 or clang-13, it will also give me a warning message `returning reference to local temporary object`. However, when I actually run tests, It will not execute it at this location.I think one of them may be that the compiler has not yet found a specialized implementation.

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


More information about the Mlir-commits mailing list