[X86] Enable promotion of i16 popcnt (PR52056)
authorDávid Bolvanský <david.bolvansky@gmail.com>
Fri, 15 Oct 2021 13:37:11 +0000 (15:37 +0200)
committerDávid Bolvanský <david.bolvansky@gmail.com>
Fri, 15 Oct 2021 13:41:37 +0000 (15:41 +0200)
commit6678db00e678e27cc66165ba62d4311f1f7be7b3
tree5531de1fd26d8b6aa3cccacb7f0c43e0a99be016
parent97809c828f8eb5f5e322ee1cbc20f96fd5ef8649
[X86] Enable promotion of i16 popcnt (PR52056)

Solves https://bugs.llvm.org/show_bug.cgi?id=52056

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D111507
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/parity-vec.ll
llvm/test/CodeGen/X86/parity.ll
llvm/test/CodeGen/X86/popcnt.ll