[all-commits] [llvm/llvm-project] 64e289: [IRCE] Support inverted range check's predicate

Aleksandr Popov via All-commits all-commits at lists.llvm.org
Wed Jul 5 00:49:50 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64e289cf515743b58a86df3752ff903640e54844
  Author: Aleksandr Popov <a.popov.tmb at gmail.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
    M llvm/test/Transforms/IRCE/non-loop-invariant-rhs-instr.ll
    M llvm/test/Transforms/IRCE/stride_more_than_1.ll

  Log Message:
  [IRCE] Support inverted range check's predicate

IRCE expects true edge of range check's branch comes to loop.
If it meets reverse case - invert the branch.

Reviewed By: skatkov

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

More information about the All-commits mailing list