[PATCH] D19894: AMDGPU: Fix not counting shader input registers
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 16:58:49 PDT 2016
arsenm created this revision.
arsenm added reviewers: tstellarAMD, nhaehnle, mareko.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: arsenm, qcolombet.
The user specified shader inputs were not counting towards
the total user SGPR count, so it was possible to request
more than are possible, as well as report fewer registers
than really used.
http://reviews.llvm.org/D19894
Files:
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
lib/Target/AMDGPU/SIRegisterInfo.cpp
lib/Target/AMDGPU/SIRegisterInfo.h
test/CodeGen/AMDGPU/amdgpu-shader-calling-convention.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.ll
test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19894.56081.patch
Type: text/x-patch
Size: 15554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160503/35367587/attachment.bin>
More information about the llvm-commits
mailing list