[Mlir-commits] [mlir] [mlir] fix Undefined behavior in CastInfo::castFailed with From=<MLIRinterface> (PR #87145)
Mehdi Amini
llvmlistbot at llvm.org
Mon Apr 1 23:01:29 PDT 2024
joker-eph wrote:
OK I see:
```
if (!Self::isPossible(f))
return castFailed();
```
Here the ` if (!Self::isPossible(f))` will always succeed in your case?
I am not sure how to restructure this all (and I'm too busy preparing for euroLLVM at the moment) but we can't have that warning in-tree I think.
https://github.com/llvm/llvm-project/pull/87145
More information about the Mlir-commits
mailing list