]> granicus.if.org Git - llvm/commit
Merging r326535:
authorTom Stellard <tstellar@redhat.com>
Mon, 9 Apr 2018 16:38:02 +0000 (16:38 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 9 Apr 2018 16:38:02 +0000 (16:38 +0000)
commita7769cbdb107428ce7bab197ec65aa96aa127020
tree5604fb7a323d848c2918c7288e211a9d71bf1741
parentaa0c91ae818e0b9e7981a42236dededc85997568
Merging r326535:

------------------------------------------------------------------------
r326535 | jvesely | 2018-03-01 18:50:22 -0800 (Thu, 01 Mar 2018) | 6 lines

AMDGPU/GCN: Promote i16 ctpop

i16 capable ASICs do not support i16 operands for this instruction.
Add tablegen pattern to merge chained i16 additions.

Differential Revision: https://reviews.llvm.org/D43985
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@329589 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/ctpop16.ll [new file with mode: 0644]