[PATCH] D38832: [X86][SelectionDAG] Add support for simplifying demanded bits of target nodes. Use it to simplify demanded bits of CMOV

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 16:58:39 PDT 2017


craig.topper created this revision.

This adds infrastructure to support simplify demanded bits for target nodes and then uses it to support X86ISD::CMOV. This is step towards being able to promote 16-bit CMOVs to 32-bits.


https://reviews.llvm.org/D38832

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/select.ll
  test/CodeGen/X86/select_const.ll
  test/CodeGen/X86/vector-compare-all_of.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38832.118728.patch
Type: text/x-patch
Size: 14364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171011/6b1c9d42/attachment.bin>


More information about the llvm-commits mailing list