[PATCH] D71025: [LoopFusion] Restrict loop fusion to rotated loops.

Kit Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 09:32:52 PST 2019


kbarton created this revision.
kbarton added reviewers: jdoerfert, Meinersbur, dmgreen, etiotto, Whitney, fhahn, hfinkel.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Herald added a subscriber: ormris.

This patch restricts loop fusion to only consider rotated loops as valid candidates.
This simplifies the analysis and transformation and aligns with other loop optimizations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71025

Files:
  llvm/lib/Transforms/Scalar/LoopFuse.cpp
  llvm/test/Transforms/LoopFusion/cannot_fuse.ll
  llvm/test/Transforms/LoopFusion/diagnostics_missed.ll
  llvm/test/Transforms/LoopFusion/four_loops.ll
  llvm/test/Transforms/LoopFusion/loop_nest.ll
  llvm/test/Transforms/LoopFusion/simple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71025.232160.patch
Type: text/x-patch
Size: 75249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/5268f110/attachment.bin>


More information about the llvm-commits mailing list