================ @@ -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); }); } bool vputils::onlyFirstPartUsed(VPValue *Def) { ---------------- fhahn wrote:
Done in 3444240540b0b36902dc8b9b11339b8969f7bca9, 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