summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/InterfaceFile.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-11-19 15:54:27 +0000
committerGitHub <noreply@github.com>2024-11-19 15:54:27 +0000
commitb3995aa338a2837626d31ae8fffc340d95b888ca (patch)
tree4c1f6ceb1b0dc802fc6abe6f50621ed37f027d08 /llvm/lib/TextAPI/InterfaceFile.cpp
parent21fc36bb193740a4e79e22a8d04fea09d394d27c (diff)
[AMDGPU] Decrease default NSA threshold from 3 to 2 (#116624)
In graphics shaders it is better overall to use NSA encoding for IMAGE instructions, because the benefit of less constrained register allocation outweighs the cost of larger encoding. In particular NSA form often avoids the need for extra V_MOV_B32 instructions between IMAGE instructions, which can allow the IMAGE instructions to be claused. Note that in GFX12 there is no longer a bit in the encoding to choose between NSA and non-NSA forms, so this only affects GFX10 and GFX11.
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions