[all-commits] [llvm/llvm-project] 54e21d: [unroll] Fix a functional change in an NFC patch

Daniel Sanders via All-commits all-commits at lists.llvm.org
Wed Dec 1 17:28:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54e21df973e154052e74a4516bbe28a81e75a922
      https://github.com/llvm/llvm-project/commit/54e21df973e154052e74a4516bbe28a81e75a922
  Author: Daniel Sanders <daniel_l_sanders at apple.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

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

  Log Message:
  -----------
  [unroll] Fix a functional change in an NFC patch

5c77aa2b917c [unroll] Use early return in shouldFullUnroll [nfc]
wasn't quite NFC since !(x <= y) is x > y rather than x >= y

Credit to Justin Bogner for spotting the bug

Reviewed By: reames

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




More information about the All-commits mailing list