[PATCH] D48768: [X86] When have BMI2, prefer shifts to clear low/high bits, rather than variable mask.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 30 11:47:20 PDT 2018


lebedev.ri updated this revision to Diff 153631.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Respond to https://reviews.llvm.org/rL336051.


Repository:
  rL LLVM

https://reviews.llvm.org/D48768

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/clear-highbits.ll
  test/CodeGen/X86/clear-lowbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48768.153631.patch
Type: text/x-patch
Size: 25479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180630/ad20655f/attachment.bin>


More information about the llvm-commits mailing list