[all-commits] [llvm/llvm-project] 557f4c: [InstCombine] Precommit updated and-xor-or.ll test...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Nov 10 17:11:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 557f4ce0c3d2a9221ebd12897e6faf8e206bd2cc
      https://github.com/llvm/llvm-project/commit/557f4ce0c3d2a9221ebd12897e6faf8e206bd2cc
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

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

  Log Message:
  -----------
  [InstCombine] Precommit updated and-xor-or.ll tests. NFC.

Tests for:
```
(a | ~(b & c)) & ~(a & (b ^ c)) --> ~(a | b) | (a ^ b ^ c)
(~(a & b) | c) & ~(a & (b & c)) -> ~(a & b)
(~(a & b) | c) & ~(b & (a & c)) -> ~(a & b)
(~a | b | c) & ~(a & b & c) -> ~a | (b ^ c)
(~a | b | c) & ~(a & b) -> (c & ~b) | ~a
```




More information about the All-commits mailing list