[all-commits] [llvm/llvm-project] d9361b: [VPlan] Add initial inner-loop VPlan verification.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Nov 9 02:18:49 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9361bfbe2ce1f41c4e8ea2fb27b90d507c86838
https://github.com/llvm/llvm-project/commit/d9361bfbe2ce1f41c4e8ea2fb27b90d507c86838
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
M llvm/lib/Transforms/Vectorize/VPlanVerifier.h
Log Message:
-----------
[VPlan] Add initial inner-loop VPlan verification.
This patch adds a function to verify general properties of VPlans. The
first check makes sure that all phi-like recipes are at the beginning of
a block, with no other recipes in between.
Note that this currently may not hold for VPBlendRecipes at the moment,
as other recipes may be inserted before the VPBlendRecipe during mask
creation.
Note that this patch depends on D111300 and D111301, which fix code that
breaks the checked invariant.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D111302
More information about the All-commits
mailing list