[all-commits] [llvm/llvm-project] 4b9be5: [VPlan] Add VPBlockUtils::blocksOnly helper.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Apr 25 09:40:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b9be5ac08506bdaea2f8f6cb8e4ead71452f38d
https://github.com/llvm/llvm-project/commit/4b9be5ac08506bdaea2f8f6cb8e4ead71452f38d
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-04-25 (Sun, 25 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Log Message:
-----------
[VPlan] Add VPBlockUtils::blocksOnly helper.
This patch adds a blocksOnly helpers which take an iterator range
over VPBlockBase * or const VPBlockBase * and returns an interator
range that only include BlockTy blocks. The accesses are casted to
BlockTy.
Reviewed By: a.elovikov
Differential Revision: https://reviews.llvm.org/D101093
More information about the All-commits
mailing list