llvm-project/llvm/test/Transforms/LoopFusion
Kit Barton 50bc610460 [LoopFusion] Add ability to fuse guarded loops
Summary:
This patch extends the current capabilities in loop fusion to fuse guarded loops
(as defined in https://reviews.llvm.org/D63885). The patch adds the necessary
safety checks to ensure that it safe to fuse the guarded loops (control flow
equivalent, no intervening code, and same guard conditions). It also provides an
alternative method to perform the actual fusion of guarded loops. The mechanics
to fuse guarded loops are slightly different then fusing non-guarded loops, so I
opted to keep them separate methods. I will be cleaning this up in later
patches, and hope to converge on a single method to fuse both guarded and
non-guarded loops, but for now I think the review will be easier to keep them
separate.

Reviewers: jdoerfert, Meinersbur, dmgreen, etiotto, Whitney

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65464

llvm-svn: 373018
2019-09-26 21:42:45 +00:00
..
cannot_fuse.ll Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
diagnostics_analysis.ll [LoopFusion] Extend use of OptimizationRemarkEmitter 2019-07-30 15:58:43 +00:00
diagnostics_missed.ll [LoopFusion] Extend use of OptimizationRemarkEmitter 2019-07-30 15:58:43 +00:00
four_loops.ll Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
guarded.ll [LoopFusion] Add ability to fuse guarded loops 2019-09-26 21:42:45 +00:00
inner_loops.ll Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
loop_nest.ll Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00
simple.ll Add basic loop fusion pass. 2019-04-17 18:53:27 +00:00