[PATCH] D155622: [X86] Recognize standalone `(1 << nbits) - 1` pattern as bzhi

Danila Malyutin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 05:34:26 PDT 2023


danilaml updated this revision to Diff 541968.
danilaml added a comment.

Add test with masked nbits


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155622/new/

https://reviews.llvm.org/D155622

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/AArch64/extract-lowbits.ll
  llvm/test/CodeGen/X86/extract-bits.ll
  llvm/test/CodeGen/X86/extract-lowbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155622.541968.patch
Type: text/x-patch
Size: 77747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/55fcce2a/attachment.bin>


More information about the llvm-commits mailing list