This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add clang builtin for __builtin_amdgcn_ds_atomic_fadd_v2f16
ClosedPublic

Authored by mariusz-sikora-at-amd on Mar 24 2023, 5:54 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 5:54 AM
mariusz-sikora-at-amd requested review of this revision.Mar 24 2023, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 5:54 AM
foad accepted this revision.Mar 24 2023, 6:27 AM

LGTM.

clang/include/clang/Basic/BuiltinsAMDGPU.def
234

Just curious - is there a reason that these builtins can't be declared in LLVM's IntrinsicsAMDGPU.td?

This revision is now accepted and ready to land.Mar 24 2023, 6:27 AM
This revision was landed with ongoing or failed builds.Mar 24 2023, 8:28 AM
This revision was automatically updated to reflect the committed changes.