[all-commits] [llvm/llvm-project] f7fc72: [InstCombine] fold `(a == c && b != c) || (a != c ...

Zain Jaffal via All-commits all-commits at lists.llvm.org
Sun Jun 23 02:39:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7fc72e281e26082d98b26c95c7ffc93393b3920
      https://github.com/llvm/llvm-project/commit/f7fc72e281e26082d98b26c95c7ffc93393b3920
  Author: Zain Jaffal <zain at jjaffal.com>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    A llvm/test/Transforms/InstCombine/fold-a-or-b-zero.ll

  Log Message:
  -----------
  [InstCombine] fold `(a == c && b != c) || (a != c && b == c))` to `(a == c) == (b != c)` (#94915)

resolves https://github.com/llvm/llvm-project/issues/92966

alive proof
https://alive2.llvm.org/ce/z/bLAQBS



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