The verifier for some arith ops were not considering that ranked
tensor types can have encodings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Arith/IR/ArithOps.cpp | ||
---|---|---|
132 | This could just be a call to cloneWith with no shape and just element type too. |
mlir/lib/Dialect/Arith/IR/ArithOps.cpp | ||
---|---|---|
132 | ah yes much simpler indeed. Changed it. |
Comment Actions
LGTM
mlir/test/Dialect/Arith/invalid.mlir | ||
---|---|---|
213 | nit: Do we need to use the generic syntax here? |
mlir/test/Dialect/Arith/invalid.mlir | ||
---|---|---|
213 | I believe that's the only way to explicitly specify both the input and output types? Do you see a different way to do this? |
mlir/test/Dialect/Arith/invalid.mlir | ||
---|---|---|
213 | Ah, I missed the error line just above, nvm |
This could just be a call to cloneWith with no shape and just element type too.