[all-commits] [llvm/llvm-project] 5de2fb: [VPlan] Simplify VPHierarchicalChildrenIterator::o...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 3 14:30:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5de2fb5112d03e319035e3c147e08c0db506cce8
      https://github.com/llvm/llvm-project/commit/5de2fb5112d03e319035e3c147e08c0db506cce8
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-07-03 (Fri, 03 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanCFG.h

  Log Message:
  -----------
  [VPlan] Simplify VPHierarchicalChildrenIterator::operator*. NFC (#207464)

This is like a pointer-valued iterator, whose constness should not
qualify the pointee ( `vector<T*>::const_iterator` yields `T*`, not
`const T*`), so collapse the two overloads into a single `BlockPtrTy
operator*() const`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list