[PATCH] D105683: [AMDGPU] Allow frontends to disable null export for pixel shaders

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 01:56:46 PDT 2021


critson created this revision.
critson added reviewers: foad, ruiling, piotr.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
critson requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Disable null export (for kills) when a frontend defines a pixel
shader as not exporting using PSColFormat and PSZFormat attrbutes.
This allows the generation of export free pixel shaders.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105683

Files:
  llvm/lib/Target/AMDGPU/SIDefines.h
  llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/CodeGen/AMDGPU/early-term.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105683.357441.patch
Type: text/x-patch
Size: 5023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210709/8e274951/attachment-0001.bin>


More information about the llvm-commits mailing list