[PATCH] D52348: [X86][BMI1]: X86DAGToDAGISel: select BEXTR from x & ((1 << nbits) + (-1)) pattern
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 21 02:56:38 PDT 2018
lebedev.ri created this revision.
lebedev.ri added reviewers: RKSimon, craig.topper, spatel.
lebedev.ri added a dependency: D52304: [X86][BMI1]: X86DAGToDAGISel: select BEXTR from x & ~(-1 << nbits) pattern.
Trivial continuation of https://reviews.llvm.org/D52304.
While this pattern is not canonical, we do select it in the BZHI case,
so this should not be any different.
Repository:
rL LLVM
https://reviews.llvm.org/D52348
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: D52348.166428.patch
Type: text/x-patch
Size: 23971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/1b722e12/attachment.bin>
More information about the llvm-commits
mailing list