1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/Transforms/LoopInterchange
Congzhe Cao 6e3a5acf29 [LoopInterchange] Handle lcssa PHIs with multiple predecessors
This is a bugfix in the transformation phase.

If the original outer loop header branches to both the inner loop
(header) and the outer loop latch, and if there is an lcssa PHI
node outside the loop nest, then after interchange the new outer latch
will have an lcssa PHI node inserted which has two predecessors, i.e.,
the original outer header and the original outer latch. Currently
the transformation assumes it has only one predecessor (the original
outer latch) and crashes, since the inserted lcssa PHI node does
not take both predecessors as incoming BBs.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D100792
2021-05-11 21:30:54 -04:00
..
call-instructions.ll
currentLimitation.ll
debuginfo.ll
inner-indvar-depend-on-outer-indvar.ll [LoopInterchange] Fix legality for triangular loops 2021-05-11 18:36:53 -04:00
inner-only-reductions.ll
interchange-flow-dep-outer.ll [NFC][LoopInterchange] Explicitly pass both InnerLoop and OuterLoop to processLoop 2021-02-16 22:17:44 +08:00
interchange-insts-between-indvar.ll
interchange-no-deps.ll
interchangeable.ll
interchanged-loop-nest-3.ll [NFC] Refactor LoopInterchange into a loop-nest pass 2021-02-18 00:55:38 +08:00
lcssa-preheader.ll [LoopInterchange] Fix transformation bugs in loop interchange 2021-04-08 14:58:13 -04:00
lcssa.ll [LoopInterchange] Handle lcssa PHIs with multiple predecessors 2021-05-11 21:30:54 -04:00
loop-interchange-optimization-remarks.ll [Dependence Analysis] Enable delinearization of fixed sized arrays 2021-05-10 10:30:15 -07:00
not-interchanged-dependencies-1.ll
not-interchanged-loop-nest-3.ll [NFC][LoopInterchange] Explicitly pass both InnerLoop and OuterLoop to processLoop 2021-02-16 22:17:44 +08:00
not-interchanged-tightly-nested.ll [LoopInterchange] fix tightlyNested() in LoopInterchange legality 2021-03-24 15:49:25 -04:00
outer-header-jump-to-inner-latch.ll [LoopInterchange] Fix transformation bugs in loop interchange 2021-04-08 14:58:13 -04:00
outer-only-reductions.ll
perserve-lcssa.ll
phi-ordering.ll
pr43176-move-to-new-latch.ll
pr43473-invalid-lcssa-phis-in-inner-exit.ll
pr43797-lcssa-for-multiple-outer-loop-blocks.ll
pr45743-move-from-inner-preheader.ll
profitability.ll [Dependence Analysis] Enable delinearization of fixed sized arrays 2021-05-10 10:30:15 -07:00
reductions-across-inner-and-outer-loop.ll Scalar: Don't visit constants in findInnerReductionPhi in LoopInterchange 2021-01-21 12:33:06 -08:00
update-condbranch-duplicate-successors.ll
vector-gep-operand.ll