================ @@ -1397,9 +1397,9 @@ void VPSlotTracker::assignSlots(const VPBasicBlock *VPBB) { assignSlot(Def); } -bool vputils::onlyFirstLaneUsed(VPValue *Def) { +bool vputils::onlyFirstLaneUsed(const VPValue *Def) { return all_of(Def->users(), - [Def](VPUser *U) { return U->onlyFirstLaneUsed(Def); }); + [Def](const VPUser *U) { return U->onlyFirstLaneUsed(Def); }); ---------------- fhahn wrote:
Split off to 693647902076034e7c81f380d1b937a65aef8ae6, thanks! https://github.com/llvm/llvm-project/pull/80269 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits