[all-commits] [llvm/llvm-project] 9614f6: [InstCombine] Fold Xor with or disjoint (#105992)

Amr Hesham via All-commits all-commits at lists.llvm.org
Sun Sep 22 03:32:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9614f69b4b1ebaba7a8ad51d583844ebca99bb08
      https://github.com/llvm/llvm-project/commit/9614f69b4b1ebaba7a8ad51d583844ebca99bb08
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2024-09-22 (Sun, 22 Sep 2024)

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

  Log Message:
  -----------
  [InstCombine] Fold Xor with or disjoint (#105992)

Implement a missing optimization fold `(X | Y) ^ M to (X ^ M) ^ Y` and
`(X | Y) ^ M to (Y ^ M) ^ X`



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