AMDGPU/GlobalISel: Add subtarget to a test
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 27 Feb 2021 19:41:45 +0000 (14:41 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 28 Feb 2021 15:29:25 +0000 (10:29 -0500)
commit25e60f645ac8bf09e00bfff95c9d20d63616d687
treeb22a6a04961b1ee6ce3900c6b4aca89484fac625
parent9502061bcc86982641772f45b7e7a0eb7437f054
AMDGPU/GlobalISel: Add subtarget to a test

SelectionDAG forces us to have a weird ABI for 16-bit values without
legal 16-bit operations, but currently GlobalISel bypasses this and
sometimes ends up using the gfx8+ ABI in some contexts. Make sure
we're testing the normal ABI to avoid a test change in a future patch.
llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll