[PATCH] D54095: [X86] X86DAGToDAGISel::matchBitExtract(): extract 'lshr' from `X`

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 14 02:13:42 PST 2018


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

Use `MOVZ`+`OR`.


Repository:
  rL LLVM

https://reviews.llvm.org/D54095

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54095.174003.patch
Type: text/x-patch
Size: 30466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181114/46a46572/attachment.bin>


More information about the llvm-commits mailing list