[all-commits] [llvm/llvm-project] 472f85: [AMDGPU] Tweak VOP3_INTERP16 profile

Jay Foad via All-commits all-commits at lists.llvm.org
Mon May 17 07:30:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 472f856714fb1687b0727b3013f5d071d8fa86ae
      https://github.com/llvm/llvm-project/commit/472f856714fb1687b0727b3013f5d071d8fa86ae
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td

  Log Message:
  -----------
  [AMDGPU] Tweak VOP3_INTERP16 profile

Set the output register class based on the output type, instead of
hard-coding VGPR_32. I think this is more correct. It doesn't make any
difference at the moment because we use the same class for 16- and
32-bit results, but it might in future if we make more use of true
16-bit register classes.

Differential Revision: https://reviews.llvm.org/D102622




More information about the All-commits mailing list