[all-commits] [llvm/llvm-project] fbfac8: [InstCombine] add tests for or-xor-nand; NFC
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Sat Sep 3 06:33:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbfac8e3884bd6b3c36b248e93dbc3096007e606
https://github.com/llvm/llvm-project/commit/fbfac8e3884bd6b3c36b248e93dbc3096007e606
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-09-03 (Sat, 03 Sep 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/or-xor.ll
Log Message:
-----------
[InstCombine] add tests for or-xor-nand; NFC
Commit: 5c759edc57d61bf4713f7e9dbb490c7e0328136d
https://github.com/llvm/llvm-project/commit/5c759edc57d61bf4713f7e9dbb490c7e0328136d
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-09-03 (Sat, 03 Sep 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/or-xor.ll
Log Message:
-----------
[InstCombine] reduce another or-xor bitwise logic pattern
~(A & ?) | (A ^ B) --> ~((A & ?) & B)
https://alive2.llvm.org/ce/z/mxex6V
This is similar to 9d218b61cc50 where we peeked through
another logic op to find a common operand.
Compare: https://github.com/llvm/llvm-project/compare/1c12e1211198...5c759edc57d6
More information about the All-commits
mailing list