Skip to content

Commit 7a831eb

Browse files
committed
[VPlan] Remove unused VPLane::getNumCachedLanes. (NFC)
The function isn't used, remove it.
1 parent c4ca87e commit 7a831eb

File tree

1 file changed

+0
-6
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+0
-6
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,6 @@ class VPLane {
223223
return Lane;
224224
}
225225
}
226-
227-
/// Returns the maxmimum number of lanes that we are able to consider
228-
/// caching for \p VF.
229-
static unsigned getNumCachedLanes(const ElementCount &VF) {
230-
return VF.getKnownMinValue() * (VF.isScalable() ? 2 : 1);
231-
}
232226
};
233227

234228
/// VPTransformState holds information passed down when "executing" a VPlan,

0 commit comments

Comments
 (0)