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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 12:49:22 PDT 2018


lebedev.ri updated this revision to Diff 149835.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.

Apply `multiclass` to the cases where `$lz` is always `GR8`.
This is kinda messy, not too good with tablegen yet..

I'm not quite sure how to handle those last few special cases where `$lz` is always `GR32`.


Repository:
  rL LLVM

https://reviews.llvm.org/D47453

Files:
  lib/Target/X86/X86InstrInfo.td
  test/CodeGen/X86/extract-lowbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47453.149835.patch
Type: text/x-patch
Size: 15535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180604/2653155c/attachment.bin>


More information about the llvm-commits mailing list