GlobalISel: Add overload of handleAssignments with CCState
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 16 Jul 2019 22:41:34 +0000 (22:41 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 16 Jul 2019 22:41:34 +0000 (22:41 +0000)
commit1c3f4ec7fc1d0c58ec4024a064c055462448e50f
tree44d50fd957a5b63e5984bb0213f2577583ce06d8
parent418516c7b8658994622273a2a44a9fba3280dcfc
GlobalISel: Add overload of handleAssignments with CCState

AMDGPU needs to allocate special argument registers separately from
the user function argument list, so needs direct control over the
CCState.

The ArgLocs argument is only really necessary because CCState doesn't
allow access to it.

llvm-svn: 366279
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp