Refactor GenericPadTensorOpVectorizationPattern
Refactor the original code to rewrite a PadTensorOp into a sequence of InitTensorOp, FillOp and InsertSliceOp without vectorization by default. `GenericPadTensorOpVectorizationPattern` provides a customized OptimizeCopyFn to vectorize the copying step. Reviewed By: silvas, nicolasvasilache, springerm Differential Revision: https://reviews.llvm.org/D105293
parent
9a0af63d
Please register or sign in to comment