[all-commits] [llvm/llvm-project] e7081d: AMDGPU: Implement waterfall loop for MIMG instruct...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Tue Aug 18 16:28:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e7081d117a72aab2282d716c7ea44fed8d5cca56
      https://github.com/llvm/llvm-project/commit/e7081d117a72aab2282d716c7ea44fed8d5cca56
  Author: Changpeng Fang <changpeng.fang at gmail.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/image-sample-waterfall.ll
    M llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll
    M llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
    M llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll

  Log Message:
  -----------
  AMDGPU: Implement waterfall loop for MIMG instructions with 256-bit SRsrc

Summary:
  When the resource descriptor is of vgpr, we need a waterfall loop
to read into a sgpr. In this patchm we generalized the  implementation
to work for any regster class sizes, and extend the work to MIMG
instructions.

Fixes: SWDEV-223405

Reviewers:
  arsenm, nhaehnle

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




More information about the All-commits mailing list