[PATCH] D152909: [AMDGPU][GFX11] Add test coverage for 16-bit conversions, part 16.
Ivan Kosarev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 04:30:35 PDT 2023
kosarev added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/v_mac.ll:9
-; GCN: buffer_load_dword [[C:v[0-9]+]], off, s[{{[0-9]+:[0-9]+}}], 0 offset:8
-; GCN: v_mac_f32_e32 [[C]], [[A]], [[B]]
-; GCN: buffer_store_dword [[C]]
----------------
Joe_Nash wrote:
> The tests in these files appear to check for usage of mac or mad. So we would need to know whether equivalent fma/fmac should be expected on GFX11, and why they are not present. There are other tests for fma on GFX11, though I'm not sure if they cover similar cases. Additionally, the hand written tests basically look for a single instruction. It seems a shame to reduce that clarity. It might be better to skip this patch.
Or, alternatively, maybe file a ticket, add a TODO and let the test catch the changes in the output?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152909/new/
https://reviews.llvm.org/D152909
More information about the llvm-commits
mailing list