[all-commits] [llvm/llvm-project] 976f3b: [AMDGPU] Only allow implicit WQM in pixel shaders
Carl Ritson via All-commits
all-commits at lists.llvm.org
Wed Nov 24 03:05:31 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 976f3b3c9eba0835d5ab7d191bd2e88ceda86ebe
https://github.com/llvm/llvm-project/commit/976f3b3c9eba0835d5ab7d191bd2e88ceda86ebe
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2021-11-24 (Wed, 24 Nov 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/memory_clause.ll
M llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll
M llvm/test/CodeGen/AMDGPU/wqm.mir
Log Message:
-----------
[AMDGPU] Only allow implicit WQM in pixel shaders
Implicit derivatives are only valid in pixel shaders,
hence only implicitly enable WQM for pixel shaders.
This avoids unintended WQM in other shader types (e.g. compute)
when image sampling instructions are used.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D114414
More information about the All-commits
mailing list