]> granicus.if.org Git - llvm/commit
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)
commitb62f354be86fd15d73df71bade3f03ec112cce8d
tree0e8c5b9d13f9dc13f4f76ea252750d3bfdc607a7
parent9e9da6ad68571d8e79f0514357f940bfb5e05087
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371797 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSelectionDAG.td
lib/Target/AMDGPU/SIInstructions.td
lib/Target/Hexagon/HexagonPatterns.td
lib/Target/NVPTX/NVPTXInstrInfo.td
lib/Target/Sparc/SparcInstr64Bit.td
lib/Target/Sparc/SparcInstrInfo.td
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/X86/X86InstrAVX512.td