File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1397,9 +1397,9 @@ void VPSlotTracker::assignSlots(const VPBasicBlock *VPBB) {
1397
1397
assignSlot (Def);
1398
1398
}
1399
1399
1400
- bool vputils::onlyFirstLaneUsed (VPValue *Def) {
1400
+ bool vputils::onlyFirstLaneUsed (const VPValue *Def) {
1401
1401
return all_of (Def->users (),
1402
- [Def](VPUser *U) { return U->onlyFirstLaneUsed (Def); });
1402
+ [Def](const VPUser *U) { return U->onlyFirstLaneUsed (Def); });
1403
1403
}
1404
1404
1405
1405
bool vputils::onlyFirstPartUsed (VPValue *Def) {
Original file line number Diff line number Diff line change @@ -3388,7 +3388,7 @@ class VPlanSlp {
3388
3388
namespace vputils {
3389
3389
3390
3390
// / Returns true if only the first lane of \p Def is used.
3391
- bool onlyFirstLaneUsed (VPValue *Def);
3391
+ bool onlyFirstLaneUsed (const VPValue *Def);
3392
3392
3393
3393
// / Returns true if only the first part of \p Def is used.
3394
3394
bool onlyFirstPartUsed (VPValue *Def);
You can’t perform that action at this time.
0 commit comments