[PATCH] D55768: [TargetLowering] Add DemandedElts mask to SimplifyDemandedBits (PR40000)
    Simon Pilgrim via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Dec 17 07:59:04 PST 2018
    
    
  
RKSimon created this revision.
RKSimon added reviewers: spatel, andreadb, efriedma, craig.topper.
This is an initial patch to add the necessary support for a DemandedElts argument to SimplifyDemandedBits, more closely matching computeKnownBits and to help improve vector codegen.
I've added only a small amount of additions necessary to get at least one test to update - a lot more can be done but I'd like to add these methodically with proper test coverage, at the same time the hope is to slowly move some/all of SimplifyDemandedVectorElts into SimplifyDemandedBits as well.
Repository:
  rL LLVM
https://reviews.llvm.org/D55768
Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/combine-sdiv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55768.178467.patch
Type: text/x-patch
Size: 22052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/81b54051/attachment.bin>
    
    
More information about the llvm-commits
mailing list