[all-commits] [llvm/llvm-project] 553f8e: [InstCombine] simplify `icmp pred x, ~x` (#73990)

hanbeom via All-commits all-commits at lists.llvm.org
Thu Feb 6 07:43:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 553f8e71dd87ad7675e9edaeffdb9619b63a7cf9
      https://github.com/llvm/llvm-project/commit/553f8e71dd87ad7675e9edaeffdb9619b63a7cf9
  Author: hanbeom <kese111 at gmail.com>
  Date:   2025-02-06 (Thu, 06 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-of-xor-x.ll

  Log Message:
  -----------
  [InstCombine] simplify `icmp pred x, ~x` (#73990)

simplify compare between specific variable `X` and  `NOT(X)`

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

Fixed https://github.com/llvm/llvm-project/issues/57532.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list