[all-commits] [llvm/llvm-project] b7f50e: [InstCombine] Improve `foldICmpWithDominatingICmp`...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu Dec 14 05:02:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7f50e13d81d69fd631e0a1f7f07fe942af4e060
      https://github.com/llvm/llvm-project/commit/b7f50e13d81d69fd631e0a1f7f07fe942af4e060
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/LoopUnroll/ARM/upperbound.ll
    M llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll

  Log Message:
  -----------
  [InstCombine] Improve `foldICmpWithDominatingICmp` with DomConditionCache (#75370)

This patch uses affected values from DomConditionCache(introduced by #73662), instead of a cheap/incomplete check `getSinglePredecessor`.




More information about the All-commits mailing list