[PATCH] D46814: [InstCombine] Canonicalize (not fold!) unfolded masked merge pattern.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 15 08:48:07 PDT 2018


spatel added a subscriber: RKSimon.
spatel added a comment.

I think we're close on the DAG safety belt (giving @RKSimon some time to look at the x86 tests I think).

...so hold off on this until that lands? Then we'd just convert directly to the xor sequence?

But I am curious - did you find this pattern in real code? I've never seen masked merge using or/nor before.


Repository:
  rL LLVM

https://reviews.llvm.org/D46814





More information about the llvm-commits mailing list