[PATCH] D46031: [DAGCombiner] Masked merge: if 'B' is constant, de-canonicalize the pattern (invert the mask).

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 12:51:39 PDT 2018


spatel added a comment.

I want to look at that x86 timing difference in more detail, but let me ask first: can we split this patch up and look at the changes independently?
I think there are 3 parts:

1. Ignore 'not'.
2. Change x86 hasAndNot().
3. Improve matching for AndNot with constant.


Repository:
  rL LLVM

https://reviews.llvm.org/D46031





More information about the llvm-commits mailing list