[PATCH] D66687: [x86] try to form more bt/test + set out of shift+mask patterns

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 04:32:05 PDT 2019


spatel updated this revision to Diff 217112.
spatel added a comment.

Patch updated:

1. Use 'uint64_t' for shift amount instead of implicitly truncating with 'unsigned'.
2. Fix x86-specific code comment that was left over from earlier rev.


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

https://reviews.llvm.org/D66687

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/Hexagon/tstbit.ll
  llvm/test/CodeGen/X86/test-vs-bittest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66687.217112.patch
Type: text/x-patch
Size: 6954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/562aa6b7/attachment-0001.bin>


More information about the llvm-commits mailing list