Skip to content

Commit 54fdf67

Browse files
authored
[VPlan] Mark getPredicatedMask static (NFC) (#168067)
1 parent daa30ae commit 54fdf67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static bool sinkScalarOperands(VPlan &Plan) {
236236

237237
/// If \p R is a region with a VPBranchOnMaskRecipe in the entry block, return
238238
/// the mask.
239-
VPValue *getPredicatedMask(VPRegionBlock *R) {
239+
static VPValue *getPredicatedMask(VPRegionBlock *R) {
240240
auto *EntryBB = dyn_cast<VPBasicBlock>(R->getEntry());
241241
if (!EntryBB || EntryBB->size() != 1 ||
242242
!isa<VPBranchOnMaskRecipe>(EntryBB->begin()))

0 commit comments

Comments
 (0)