Masked merge has a pattern of: ((x ^ y) & M) ^ y.
But, there is no difference between ((x ^ y) & M) ^ y and ((x ^ y) & ~M) ^ x,
We should canonicalize it and drop that xor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
While some of those aren't really a masked merge, they could be reduced further.
Add one more test file, with all the variations with inverted operands, deduplicated.
Originally generated with
While some of those aren't really a masked merge, they could be reduced further.
Comment Actions
Self-accepting since this is just a new tests, NFC, and the dependent differential is accepted.