[all-commits] [llvm/llvm-project] 34ef8c: [InstCombine] add tests for or-xor; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sat Aug 13 08:11:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34ef8c31ca7851a5b3d4668d85fbf78e6da15bbb
      https://github.com/llvm/llvm-project/commit/34ef8c31ca7851a5b3d4668d85fbf78e6da15bbb
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/or-xor.ll

  Log Message:
  -----------
  [InstCombine] add tests for or-xor; NFC

The existing pattern matching fails to handle all commutes.


  Commit: 8b56fa92deee0c285c8b54985df0d13ffb172ec3
      https://github.com/llvm/llvm-project/commit/8b56fa92deee0c285c8b54985df0d13ffb172ec3
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-13 (Sat, 13 Aug 2022)

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

  Log Message:
  -----------
  [InstCombine] fix "X|(X^Y)" pattern-matching for commuted variants


Compare: https://github.com/llvm/llvm-project/compare/ba79c2a25069...8b56fa92deee


More information about the All-commits mailing list