[all-commits] [llvm/llvm-project] c8626c: [LoopSink] Don't sort BBs if there is only 1 of th...

Daniel Kutenin via All-commits all-commits at lists.llvm.org
Wed Aug 16 01:06:15 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8626cd916ac07f6e6c4e3ba20c089589b878847
  Author: Danila Kutenin <kutdanila at yandex.ru>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopSink.cpp

  Log Message:
  [LoopSink] Don't sort BBs if there is only 1 of them (NFC)

This was trigerred by the debug check when comp(a, a) was called.
On line 216 it's checked that LoopBlockNumber should contain
all if there are more than 1. NFC for end users

Differential Revision: https://reviews.llvm.org/D157954

More information about the All-commits mailing list