[llvm] [VPlan] Rename onlyFirst(Lane|Part)Used (NFC) (PR #166562)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 08:09:39 PST 2025


================
@@ -18,7 +18,7 @@ using namespace llvm::VPlanPatternMatch;
 
 bool vputils::onlyFirstLaneUsed(const VPValue *Def) {
----------------
artagnon wrote:

One of the motivations for the rename is to differentiate it from this function: onlyFirstLaneUsed says "only first lane is used by users", while usesFirstLaneOnly says "this only uses the first lane of \p Op".

https://github.com/llvm/llvm-project/pull/166562


More information about the llvm-commits mailing list