[PATCH] D47453: [X86] Emit BZHI when mask is ~(-1 << nbits))

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 28 10:39:29 PDT 2018


lebedev.ri updated this revision to Diff 148830.
lebedev.ri added a comment.

Rebased ontop of reworked tests,
Redo patternmatch ontop of the first matcher there, `x & ((1 << y) - 1)`.


Repository:
  rL LLVM

https://reviews.llvm.org/D47453

Files:
  lib/Target/X86/X86InstrInfo.td
  test/CodeGen/X86/bmi-bzhi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47453.148830.patch
Type: text/x-patch
Size: 5780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180528/1a239bf0/attachment.bin>


More information about the llvm-commits mailing list