[all-commits] [llvm/llvm-project] be37ca: [JumpThreading] Process range comparisions with no...

Sergey Kachkov via All-commits all-commits at lists.llvm.org
Fri Sep 2 03:23:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be37caca0055df77c9e3ca0a63d4b2ccefe94f7d
      https://github.com/llvm/llvm-project/commit/be37caca0055df77c9e3ca0a63d4b2ccefe94f7d
  Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/test/Transforms/JumpThreading/range-compare.ll

  Log Message:
  -----------
  [JumpThreading] Process range comparisions with non-local cmp instructions

Use getPredicateOnEdge method if value is a non-local
compare-with-a-constant instruction, that can give more precise
results than getConstantOnEdge.

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




More information about the All-commits mailing list