Trying to fold the unranked tensor for "tosa.equal" crashes due to null reference. We need to check the dynamic cast result beforehand. This is reported in https://github.com/llvm/llvm-project/issues/60192.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@nicolasvasilache @NatashaKnk @rsuderman Sorry for pinging you them all. Could you review this diff if you get a chance?
Comment Actions
While waiting for the others to review, you might want to remove the extra include.
| mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp | ||
|---|---|---|
| 796 | This looks like a leftover temporary include. | |
| mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp | ||
|---|---|---|
| 796 | Ditto. Remove the debug code and I'll approve and land. | |
| mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp | ||
|---|---|---|
| 796 | @eric-k256 @rsuderman Sorry for keeping unnecessary code. My bad. I'll remove it. | |
Comment Actions
@rsuderman Sorry for bothering you again. I deleted the debug code accordingly. Could you review this change when you get a chance?
This looks like a leftover temporary include.