aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ProfileData/CoverageMappingTest.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2021-02-07 12:12:31 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2021-02-18 17:26:55 -0500
commit62d946e133f748d4500903c2b80fc456ff409505 (patch)
tree7a7d2d4cf4b09c3aa60f090f8830fd20bed2d3bd /llvm/unittests/ProfileData/CoverageMappingTest.cpp
parent70e3c9a8b6684c49576aee38b5c90b18fdf00d2c (diff)
downloadllvm-62d946e133f748d4500903c2b80fc456ff409505.zip
llvm-62d946e133f748d4500903c2b80fc456ff409505.tar.gz
llvm-62d946e133f748d4500903c2b80fc456ff409505.tar.bz2
GlobalISel: Merge some AMDGPU ABI lowering code to generic code
AMDGPU currently has a lot of pre-processing code to pre-split argument types into 32-bit pieces before passing it to the generic code in handleAssignments. This is a bit sloppy and also requires some overly fancy iterator work when building the calls. It's better if all argument marshalling code is handled directly in handleAssignments. This handles more situations like decomposing large element vectors into sub-element sized pieces. This should mostly be NFC, but does change the generated code by shifting where the initial argument packing instructions are placed. I think this is nicer looking, since it now emits the packing code directly after the relevant copies, rather than after the copies for the remaining arguments. This doubles down on gfx6/gfx7 using the gfx8+ ABI for 16-bit types. This is ultimately the better option, but incompatible with the DAG. Fixing this requires more work, especially for f16.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions