[all-commits] [llvm/llvm-project] 9dcd75: [AMDGPU] Allow frontends to disable null export fo...

Carl Ritson via All-commits all-commits at lists.llvm.org
Wed Jul 21 18:21:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dcd75f86f2457b31a8eca4fa47f28d2b912dec4
      https://github.com/llvm/llvm-project/commit/9dcd75f86f2457b31a8eca4fa47f28d2b912dec4
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/test/CodeGen/AMDGPU/early-term.mir

  Log Message:
  -----------
  [AMDGPU] Allow frontends to disable null export for pixel shaders

Disable null export (for kills) when a frontend defines a pixel
shader as not exporting using amdgpu-color-export and
amdgpu-depth-export function attrbutes.
This allows the generation of export free pixel shaders.

Reviewed By: foad

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




More information about the All-commits mailing list