[llvm] [InstSimplify] Simplify the expression `(a^c)&(a^~c)` to zero (PR #76637)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 10:08:43 PST 2024


ChipsSpectre wrote:

> Please add support for the conjugate or pattern at the same time.

Can you explain what you mean with this? 
I assume that you suggest adding support for the "or" pattern, i.e. `(a ^ c1) | (a ^ c2) -> -1` and would add this.

https://github.com/llvm/llvm-project/pull/76637


More information about the llvm-commits mailing list