[PATCH] D52570: [X86] Don't generate BMI BEXTR from X86DAGToDAGISel::matchBEXTRFromAnd

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 28 01:46:49 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D52570#1248811, @RKSimon wrote:

> In the short term I think a fast feature flag (for bdver/btver/znver amd targets) is the way to go


Hm, but those *are* all the AMD targets that support BMI.
Perhaps this can be simplified down to `isAMD()` ?


https://reviews.llvm.org/D52570





More information about the llvm-commits mailing list