[PATCH] D114336: [Polly] Generalize the pattern matching to the case of tensor contractions.

Roman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 12 01:25:24 PST 2021


gareevroman updated this revision to Diff 393734.
gareevroman added a comment.

Thank you very much for the review!

I've tried to address all comments. Additionally, I've updated the optimization for the case of filter nodes (e.g., polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll). I believe that the optimization of tensor contractions is strictly more powerful than the optimization of matrix-multiplications. So, I'd suggest to replace the optimization of matrix-multiplications with it eventually.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114336/new/

https://reviews.llvm.org/D114336

Files:
  polly/lib/Transform/MatmulOptimizer.cpp
  polly/lib/Transform/ScheduleOptimizer.cpp
  polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm_2.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_15.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_16.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_17.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_18.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_19.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_20.ll
  polly/test/ScheduleOptimizer/pattern-matching-based-opts_4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114336.393734.patch
Type: text/x-patch
Size: 64680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211212/15f02add/attachment.bin>


More information about the llvm-commits mailing list