[all-commits] [llvm/llvm-project] cdf0b8: [CycleInfo] Move cycle accessors to GenericCycleIn...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jul 16 09:52:51 PDT 2026


  Branch: refs/heads/users/MaskRay/spr/cycleinfo-move-scalar-cycle-accessors-to-genericcycleinfo-nfc
  Home:   https://github.com/llvm/llvm-project
  Commit: cdf0b8dac07d03639c1bf36ce83acb16dda9b141
      https://github.com/llvm/llvm-project/commit/cdf0b8dac07d03639c1bf36ce83acb16dda9b141
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M llvm/include/llvm/ADT/GenericCycleImpl.h
    M llvm/include/llvm/ADT/GenericCycleInfo.h
    M llvm/include/llvm/ADT/GenericUniformityImpl.h
    M llvm/include/llvm/IR/GenericConvergenceVerifierImpl.h
    M llvm/lib/CodeGen/MachineCycleAnalysis.cpp
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelDivergenceLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/Utils/FixIrreducible.cpp

  Log Message:
  -----------
  [CycleInfo] Move cycle accessors to GenericCycleInfo. NFC

Move member functions off GenericCycle onto GenericCycleInfo.
GenericCycle now holds only data and the child-iterator type, and all
cycle queries go through GenericCycleInfo. This prepares replacing the
GenericCycle pointer with an opaque handle.

Aided by Claude Opus 4.8

Pull Request: https://github.com/llvm/llvm-project/pull/209990



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