[PATCH] D50165: [X86] Add a DAG combine for the __builtin_parity idiom used by clang to enable better codegen

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 11:32:50 PDT 2018


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

Use isTypeLegal and isOperationLegal


https://reviews.llvm.org/D50165

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/parity.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50165.158808.patch
Type: text/x-patch
Size: 7227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180802/26aeb194/attachment.bin>


More information about the llvm-commits mailing list