[all-commits] [llvm/llvm-project] ee5092: [InstCombine] Fold (X != 0) & (Y u>= X)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Apr 25 04:17:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee509258947cc07c899a0b5ad6fffdefd27f958f
      https://github.com/llvm/llvm-project/commit/ee509258947cc07c899a0b5ad6fffdefd27f958f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-25 (Mon, 25 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/icmp.ll

  Log Message:
  -----------
  [InstCombine] Fold (X != 0) & (Y u>= X)

This adds the De Morgan conjugated fold for the existing
(X == 0) | (Y u< X) fold.

Proof: https://alive2.llvm.org/ce/z/3Me3JQ




More information about the All-commits mailing list