- Do not discard static result type information that cannot be inferred from lower/upper padding.
- Add optional argument to PadTensorOp::inferResultType for specifying known result dimensions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Nice!
@ftynse also FYI, this avoids the creation of cast(pad) by folding on construction at the exact point the information is known and lost.
https://reviews.llvm.org/D110343 is still generally useful as it would also catch future cases.