[all-commits] [llvm/llvm-project] 6f7cd1: [AMDGPU] Fix v3f16 handling for getresinfo

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Thu Sep 24 07:15:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f7cd16d297155332ff2b4c7efb01ca592eb7753
      https://github.com/llvm/llvm-project/commit/6f7cd16d297155332ff2b4c7efb01ca592eb7753
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.getresinfo.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll

  Log Message:
  -----------
  [AMDGPU] Fix v3f16 handling for getresinfo

v3f32 should not be expanded to v4f32. getresinfo with a dmask of 7
created an image sample with a v3f32 return value, which was bitcasted
to a v4f32 in constructRetValue.

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




More information about the All-commits mailing list