[PATCH] D43985: AMDGPU/GCN: Promote i16 ctpop

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 16:34:19 PST 2018


jvesely created this revision.
jvesely added a reviewer: arsenm.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

i16 capable ASICs do not support i16 operands for this instruction.

Add tablegen pattern to merge chained i16 additions.


Repository:
  rL LLVM

https://reviews.llvm.org/D43985

Files:
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/ctpop16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43985.136638.patch
Type: text/x-patch
Size: 14739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/140807ff/attachment.bin>


More information about the llvm-commits mailing list