Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This fixes https://github.com/google/iree/issues/9556.
We have no tests for inferRankReducedResultType. Should I add a C++ unit test for this?
Thanks for quick fix.
Aren't these used during verification? E.g., could we test simply by having a couple of invalid ops that get flagged? If not, my preference would be a tester pass (that just runs infer and prints out) that way we can easily add tests and different configs.
Aren't these used during verification? E.g., could we test simply by having a couple of invalid ops that get flagged? If not, my preference would be a tester pass (that just runs infer and prints out) that way we can easily add tests and different configs.
There are two inferRankReducedResultType overloads. The verifier executes only one of them. The other one is only used when building a new op with the C++ API.