This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][GFX11][NFC] Update tests for FLAT instructions
ClosedPublic

Authored by dp on Aug 22 2022, 11:12 AM.

Details

Summary

Only 15 instructions out of 130 have sufficient test coverage:

NAME                       TEST NUM
------------------------------------
global_load_b32              10
scratch_load_b32              8
global_atomic_swap_b64        8
global_atomic_swap_b32        8
global_atomic_cmpswap_b64     8
global_atomic_cmpswap_b32     8
flat_load_b32                 5
scratch_store_b32             6
global_load_d16_i8            4
global_load_d16_hi_i8         4
global_load_d16_b16           4
flat_atomic_swap_b64          4
flat_atomic_swap_b32          4
flat_atomic_cmpswap_b64       4
flat_atomic_cmpswap_b32       4
OTHER FLAT OPCODES           <3
------------------------------------

Diff Detail

Event Timeline

dp created this revision.Aug 22 2022, 11:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 11:12 AM
dp requested review of this revision.Aug 22 2022, 11:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 11:12 AM
foad accepted this revision.Aug 23 2022, 2:14 AM

Seems obviously good, thanks!

This revision is now accepted and ready to land.Aug 23 2022, 2:14 AM
This revision was automatically updated to reflect the committed changes.