OSDN Git Service

AMDGPU: Remove MFI::ABIArgOffset
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 28 Jun 2018 10:18:55 +0000 (10:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 28 Jun 2018 10:18:55 +0000 (10:18 +0000)
commit90f8cc80db50f68631f8487c9e930b545e4f6777
tree7b83e258fbaad312decd6280ec051d40cf4d665a
parentfe32d1437e3be0c83b928b22bca0386390601392
AMDGPU: Remove MFI::ABIArgOffset

We have too many mechanisms for tracking the various offsets
used for kernel arguments, so remove one. There's still a lot of
confusion with these because there are two different "implicit"
argument areas located at the beginning and end of the kernarg
segment.

Additionally, the offset was determined based on the memory
size of the split element types. This would break in a future
commit where v3i32 is decomposed into separate i32 pieces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335830 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
lib/Target/AMDGPU/AMDGPUMachineFunction.h
lib/Target/AMDGPU/R600ISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.cpp