Details
Details
- Reviewers
jpienaar herhut silvas - Commits
- rGbc8d8e69a620: [mlir] Fold shape.eq %a, %a to true
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I don't know if this works with whatever Shape Error types exist these days, so please let me know what you think.
Comment Actions
This goes back to the comment when the op was added: I don't think it as defined makes sense outside of an assuming region. Errors in and bool out I don't know what the consumer could do with the value, it feels like it would be easy to drop error state there (e.g., errors feed into equals, equals get folded and now errors have no consumer anymore and we DCE those).
As defined, this seems consistent.