This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] GFX11: accept global_atomic_csub as an alias
ClosedPublic

Authored by foad on Feb 2 2023, 5:54 AM.

Details

Summary

GFX11 renamed this instruction to global_atomic_csub_u32 but should
accept the old name as an alias, for consistency with the other global
atomics and with buffer_atomic_csub.

Diff Detail

Event Timeline

foad created this revision.Feb 2 2023, 5:54 AM
foad requested review of this revision.Feb 2 2023, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2023, 5:54 AM
arsenm accepted this revision.Feb 2 2023, 8:36 AM

I didn't realize we had any instruction missing a type suffix.

BTW if you're looking at this instruction, I think I noticed we're missing a selection predicate on the intrinsic pattern

This revision is now accepted and ready to land.Feb 2 2023, 8:36 AM
This revision was landed with ongoing or failed builds.Feb 2 2023, 9:12 AM
This revision was automatically updated to reflect the committed changes.