[all-commits] [llvm/llvm-project] 04d652: [SCEV] Return ArrayRef for SCEV operands() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 16 06:36:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04d652994d479c98980e85d5742fc283a12ca3d4
      https://github.com/llvm/llvm-project/commit/04d652994d479c98980e85d5742fc283a12ca3d4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

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

  Log Message:
  -----------
  [SCEV] Return ArrayRef for SCEV operands() (NFC)

Use a consistent type for the operands() methods of different SCEV
types. Also make the API consistent by only providing operands(),
rather than also providin op_begin() and op_end() for some of them.




More information about the All-commits mailing list