This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Refactor PadTensorOpVectorizationPattern (NFC)
ClosedPublic

Authored by springerm on Jun 4 2021, 4:18 AM.

Details

Summary
  • Rename PadTensorOpVectorizationPattern to GenericPadTensorOpVectorizationPattern.
  • Make GenericPadTensorOpVectorizationPattern a private pattern, to be instantiated via populatePadTensorOpVectorizationPatterns.
  • Factor out parts of PadTensorOpVectorizationPattern into helper functions.

This commit prepares PadTensorOpVectorizationPattern for a series of subsequent commits that add more specialized PadTensorOp vectorization patterns.

Diff Detail