[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 Feb 14 17:52:56 PST 2018


craig.topper updated this revision to Diff 134349.
craig.topper added a comment.

Remove the recursive calls on the cmov operands. Stick to cmov with constant inputs for now.


https://reviews.llvm.org/D38832

Files:
  include/llvm/CodeGen/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.134349.patch
Type: text/x-patch
Size: 13146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/8d3b884a/attachment.bin>


More information about the llvm-commits mailing list