[all-commits] [llvm/llvm-project] 90dba8: [InstCombine] Fold or of icmp ne trunc/and

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 28 06:07:31 PDT 2022


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

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

  Log Message:
  -----------
  [InstCombine] Fold or of icmp ne trunc/and

This adds the de Morgan conjugated variant for the existing
"and eq" style fold.

Proof: https://alive2.llvm.org/ce/z/tkNAcG




More information about the All-commits mailing list