[all-commits] [llvm/llvm-project] 9e6e63: [LoopPredication] Use isSafeToExpandAt() member fu...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 14 05:50:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e6e631b3861c3f720992f037a9ba362b0c49974
      https://github.com/llvm/llvm-project/commit/9e6e631b3861c3f720992f037a9ba362b0c49974
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-14 (Thu, 14 Jul 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Scalar/LoopPredication.cpp
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [LoopPredication] Use isSafeToExpandAt() member function (NFC)

As a followup to D129630, this switches a usage of the freestanding
function in LoopPredication to use the member variant instead. This
was the last use of the freestanding function, so drop it entirely.




More information about the All-commits mailing list