This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add target feature gws to clang
ClosedPublic

Authored by yaxunl on Aug 20 2023, 8:17 AM.

Diff Detail

Event Timeline

yaxunl created this revision.Aug 20 2023, 8:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2023, 8:17 AM
yaxunl requested review of this revision.Aug 20 2023, 8:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2023, 8:17 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm added inline comments.Aug 20 2023, 4:36 PM
llvm/lib/TargetParser/TargetParser.cpp
289

Gds feature is unused

yaxunl added inline comments.Aug 21 2023, 7:02 AM
llvm/lib/TargetParser/TargetParser.cpp
289

I am thinking to keep it in case we need it for newly added builtins or want to diagnose ops requires gds.

arsenm added inline comments.Aug 21 2023, 8:09 AM
llvm/lib/TargetParser/TargetParser.cpp
289

But it's easy to add back in if and when that happens

yaxunl updated this revision to Diff 553463.Aug 25 2023, 7:14 AM
yaxunl retitled this revision from [AMDGPU] Add target feature gds/gws to clang to [AMDGPU] Add target feature gws to clang.

remove gds feature since it is not used

arsenm accepted this revision.Aug 25 2023, 7:18 AM
This revision is now accepted and ready to land.Aug 25 2023, 7:18 AM
This revision was automatically updated to reflect the committed changes.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 25 2023, 8:51 AM