PadTensorOp has verification logic to make sure
result dim must be static if all the padding values are static.
Cast folding might add more static information for the src operand
of PadTensorOp which might change a valid operation to be invalid.
Change the canonicalizing pattern to fix this.
Details
Details
- Reviewers
mravishankar nicolasvasilache rsuderman
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
1245 | Can you document what the nullptr represents? Its useful for understanding. |
Can you document what the nullptr represents? Its useful for understanding.