[all-commits] [llvm/llvm-project] b4c8cf: [InstCombine] fold more icmp + select patterns by ...

chenglin.bi via All-commits all-commits at lists.llvm.org
Wed Dec 7 07:56:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4c8cfc7c211fae99c734ca5091c334238528443
      https://github.com/llvm/llvm-project/commit/b4c8cfc7c211fae99c734ca5091c334238528443
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-bitext.ll
    M llvm/test/Transforms/InstCombine/select-cmp.ll

  Log Message:
  -----------
  [InstCombine] fold more icmp + select patterns by distributive laws

follow up D139076, add icmp with not only eq/ne, but also gt/lt/ge/le.

Reviewed By: spatel

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




More information about the All-commits mailing list