[all-commits] [llvm/llvm-project] de59d2: [InstCombine] Support logical ops in foldAndOrOfIC...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 13 01:37:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de59d222abb2c8d65f6225b314fa6486b1b66809
      https://github.com/llvm/llvm-project/commit/de59d222abb2c8d65f6225b314fa6486b1b66809
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

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

  Log Message:
  -----------
  [InstCombine] Support logical ops in foldAndOrOfICmpEqZeroAndICmp()

If the and/or is logical and one of the operands only occurs on the
RHS, we need to freeze it: https://alive2.llvm.org/ce/z/vuMuE_




More information about the All-commits mailing list