This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Refactor TransferReadToVectorLoadLowering
ClosedPublic

Authored by springerm on Jul 15 2021, 6:40 PM.

Details

Summary
  • TransferReadToVectorLoadLowering no longer generates memref.load ops.
  • Add new pattern VectorLoadToMemrefLoadLowering that lowers scalar vector.loads to memref.loads.
  • Add vector::BroadcastOp canonicalization pattern that folds broadcast chains.

Diff Detail

Event Timeline

springerm created this revision.Jul 15 2021, 6:40 PM
springerm requested review of this revision.Jul 15 2021, 6:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 15 2021, 6:40 PM
nicolasvasilache accepted this revision.Jul 16 2021, 1:32 AM
This revision is now accepted and ready to land.Jul 16 2021, 1:32 AM