DAG/GlobalISel: Correct type profile of bitcount ops
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Sep 2019 00:11:14 +0000 (00:11 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Sep 2019 00:11:14 +0000 (00:11 +0000)
commitb366329a34a1f2dc277f030df239236d43792fba
tree8124fc9ad778fa4853f226311cf9a73ff65c567c
parent5b2b38e053b4638c08da4104e8bb5bd643fde737
DAG/GlobalISel: Correct type profile of bitcount ops

The result integer does not need to be the same width as the input.
AMDGPU, NVPTX, and Hexagon all have patterns working around the types
matching. GlobalISel defines these as being different type indexes.

llvm-svn: 371797
llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/lib/Target/Hexagon/HexagonPatterns.td
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/lib/Target/Sparc/SparcInstr64Bit.td
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/lib/Target/SystemZ/SystemZInstrInfo.td
llvm/lib/Target/X86/X86InstrAVX512.td