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
nicolasvasilache
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo