This needs to refer to arguments by their original argument
index, not the argument split index which depends on what
the type splitting decides to do.
Also avoid increment PSInputNum for each split piece.
Paths
| Differential D49128
AMDGPU: Properly handle shader inputs with split arguments ClosedPublic Authored by arsenm on Jul 10 2018, 6:50 AM.
Details
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptJul 10 2018, 6:50 AM Comment Actions
As-is I think this is a no-op. In D49065 the input argument registers start getting split, so there's no longer a 1:1 correspondence. arsenm retitled this revision from AMDGPU: Refer to skipped inputs by original argument index to AMDGPU: Properly handle shader inputs with split arguments. Comment ActionsComplete change needed to handle other code doing the vector argument splitting arsenm added a child revision: D49254: AMDGPU: Scalarize vector argument types to calls.Jul 12 2018, 10:36 AM This revision is now accepted and ready to land.Jul 12 2018, 7:12 PM
Revision Contents
Diff 155122 lib/Target/AMDGPU/SIISelLowering.cpp
|