This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC][GFX11][NFC] Rename tests
ClosedPublic

Authored by dp on Aug 8 2022, 6:57 AM.

Details

Summary

Make test names more uniform.

Diff Detail

Unit TestsFailed

Event Timeline

dp created this revision.Aug 8 2022, 6:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 6:57 AM
dp requested review of this revision.Aug 8 2022, 6:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 6:57 AM

Making things uniform is good. Isn't having asm or dasm in the filename redundant given the path?

dp added a comment.Aug 8 2022, 7:17 AM

I agree, the suffices are redundant. I was reluctant to remove the _asm/_dasm suffices because they have been used for many pre-GFX11 tests.
I can remove these suffices - for all targets or for GFX11 only. What do you think would be better?

Joe_Nash accepted this revision.Aug 8 2022, 7:29 AM
Joe_Nash added a reviewer: dstuttard.
In D131398#3706536, @dp wrote:

I agree, the suffices are redundant. I was reluctant to remove the _asm/_dasm suffices because they have been used for many pre-GFX11 tests.
I can remove these suffices - for all targets or for GFX11 only. What do you think would be better?

The only reason I can think that the name would matter is if people scripted against the old names. If you don't want to rename the old ones you have to trade off between uniformity (include asm/dasm) and simplicity on GFX11. I'm agnostic about it.

This revision is now accepted and ready to land.Aug 8 2022, 7:29 AM
This revision was landed with ongoing or failed builds.Aug 9 2022, 3:59 AM
This revision was automatically updated to reflect the committed changes.