llvm-project/llvm/test/Transforms/InstCombine/AMDGPU
Sebastian Neubauer b8d1994778 [AMDGPU] Add A16/G16 to InstCombine
When sampling from images with coordinates that only have 16 bit
accuracy, convert the image intrinsic call to use a16 or g16.
This does only happen if the target hardware supports it.

An alternative would be to always apply this combination, independent of
the target hardware and extend 16 bit arguments to 32 bit arguments
during legalization. To me, this sounds like an unnecessary roundtrip
that could prevent some further InstCombine optimizations.

Differential Revision: https://reviews.llvm.org/D85887
2020-08-20 10:51:49 +02:00
..
amdgcn-demanded-vector-elts.ll [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
amdgcn-intrinsics-gfx8.ll [AMDGPU] Add A16/G16 to InstCombine 2020-08-20 10:51:49 +02:00
amdgcn-intrinsics.ll [AMDGPU] Add A16/G16 to InstCombine 2020-08-20 10:51:49 +02:00
ldexp.ll [InstCombine] Move target-specific inst combining 2020-07-22 15:59:49 +02:00
lit.local.cfg
memcpy-from-constant.ll InstCombine: Broaden copy-constant-to-alloca optimization 2020-05-09 16:00:27 -04:00
tan.ll