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

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 12:11:44 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL336585: [X86][TLI] DAGCombine: Unfold variable bit-clearing mask to two shifts. (authored by lebedevri, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48768?vs=153948&id=154673#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48768

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48768.154673.patch
Type: text/x-patch
Size: 90162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/2a4819f7/attachment-0001.bin>


More information about the llvm-commits mailing list