llvm-project/llvm/lib/Transforms/Vectorize
Florian Hahn 416a5080d8
[VPlan] Update vector latch terminator edge to exit block after execution.
Instead of setting the successor to the exit using CFG.ExitBB, set it to
nullptr initially. The successor to the exit block is later set either
through createEmptyBasicBlock or after VPlan execution (because at the
moment, no block is created by VPlan for the exit block, the existing
one is reused).

This also enables BranchOnCond to be used as terminator for the exiting
block of the topmost vector region.

Depends on D126618.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D126679
2022-06-04 21:22:32 +01:00
..
CMakeLists.txt [VPlan] Remove unused native utilities incompatible with nested regions. 2022-06-01 09:32:59 +01:00
LoadStoreVectorizer.cpp [APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelf 2022-05-19 11:23:13 +01:00
LoopVectorizationLegality.cpp [VPlan] Remove unused native utilities incompatible with nested regions. 2022-06-01 09:32:59 +01:00
LoopVectorizationPlanner.h [LoopVectorize] Don't interleave when the number of runtime checks exceeds the threshold 2022-05-19 23:29:00 +08:00
LoopVectorize.cpp [VPlan] Replace CondBit with BranchOnCond VPInstruction. 2022-06-03 11:48:31 +01:00
SLPVectorizer.cpp [SLP]Improve shuffles cost estimation where possible. 2022-06-03 08:06:22 -07:00
VPRecipeBuilder.h [VPlan] Expand induction step in VPlan pre-header. 2022-04-19 13:06:39 +02:00
VPlan.cpp [VPlan] Update vector latch terminator edge to exit block after execution. 2022-06-04 21:22:32 +01:00
VPlan.h [VPlan] Replace CondBit with BranchOnCond VPInstruction. 2022-06-03 11:48:31 +01:00
VPlanDominatorTree.h
VPlanHCFGBuilder.cpp [VPlan] Inline variable into assertion. NFC. 2022-06-03 13:59:48 +02:00
VPlanHCFGBuilder.h [VPlan] Use region for each loop in native path. 2022-06-01 10:41:05 +01:00
VPlanSLP.cpp Cleanup includes: Transforms/Instrumentation & Transforms/Vectorize 2022-03-23 11:06:13 +01:00
VPlanTransforms.cpp [VPlan] Replace CondBit with BranchOnCond VPInstruction. 2022-06-03 11:48:31 +01:00
VPlanTransforms.h [VPlan] Remove unused SCEV forward declaration (NFC). 2022-04-19 17:16:17 +02:00
VPlanValue.h [VPlan] Replace CondBit with BranchOnCond VPInstruction. 2022-06-03 11:48:31 +01:00
VPlanVerifier.cpp [VPlan] Replace CondBit with BranchOnCond VPInstruction. 2022-06-03 11:48:31 +01:00
VPlanVerifier.h [VPlan] Add initial inner-loop VPlan verification. 2021-11-09 10:18:28 +00:00
VectorCombine.cpp [VectorCombine] Attempt to fold select shuffles from reductions 2022-05-08 10:32:41 +01:00
Vectorize.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00