[all-commits] [llvm/llvm-project] 3dfacb: [SCEV] Introduce SCEVUse wrapper type (NFC)

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 6 08:10:44 PST 2026


  Branch: refs/heads/users/fhahn/scevuse
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dfacbc9b41048c4ef7396ebf671110f9c973a1c
      https://github.com/llvm/llvm-project/commit/3dfacbc9b41048c4ef7396ebf671110f9c973a1c
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
    M llvm/include/llvm/Analysis/ScalarEvolutionPatternMatch.h
    M llvm/include/llvm/Transforms/Scalar/NaryReassociate.h
    M llvm/lib/Analysis/Delinearization.cpp
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Analysis/ScalarEvolutionDivision.cpp
    M llvm/lib/Analysis/ScalarEvolutionNormalization.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
    M llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
    M llvm/unittests/Transforms/Utils/ScalarEvolutionExpanderTest.cpp
    M polly/include/polly/CodeGen/BlockGenerators.h
    M polly/include/polly/Support/ScopHelper.h
    M polly/lib/Analysis/ScopDetection.cpp
    M polly/lib/Support/SCEVValidator.cpp
    M polly/lib/Support/ScopHelper.cpp

  Log Message:
  -----------
  [SCEV] Introduce SCEVUse wrapper type (NFC)

Add SCEVUse as a PointerIntPair wrapper around const SCEV * to prepare
for storing additional per-use information.

This commit contains the mechanical changes of adding an intial SCEVUse
wrapper and updating all relevant interfaces to take SCEVUse. Note that
currently the integer part is never set, and all SCEVUses are
considered canonical.


  Commit: 30972a14e373d2c40c4b1d0e689381377f105ad6
      https://github.com/llvm/llvm-project/commit/30972a14e373d2c40c4b1d0e689381377f105ad6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    M llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
    M llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp

  Log Message:
  -----------
  !fixup address latest comments, thanks


  Commit: 96b8509495bc2bdface63b323075807f588a0236
      https://github.com/llvm/llvm-project/commit/96b8509495bc2bdface63b323075807f588a0236
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

  Log Message:
  -----------
  !fixup more cleanups


  Commit: d7afea4adcf6126807be2219b6157d24cf316a9f
      https://github.com/llvm/llvm-project/commit/d7afea4adcf6126807be2219b6157d24cf316a9f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h

  Log Message:
  -----------
  !fixup address comments, thanks


Compare: https://github.com/llvm/llvm-project/compare/45f0784fc063...d7afea4adcf6

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