Skip to content

Commit 24438c3

Browse files
changpenggithub-actions[bot]
authored andcommitted
Automerge: AMDGPU: Remove "gws" feature from generic targets (#148122)
Here "generic targets" means when no target is specified. This is because gfx12+ does not support this feature, and thus it is no longer universally available. Fixes: SWDEV-541399
2 parents 65c3aa2 + edd615e commit 24438c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/GCNProcessors.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
// The code produced for "generic" is only useful for tests and cannot
1010
// reasonably be expected to execute on any particular target.
1111
def : ProcessorModel<"generic", NoSchedModel,
12-
[FeatureGDS, FeatureGWS]
12+
[FeatureGDS]
1313
>;
1414

1515
def : ProcessorModel<"generic-hsa", NoSchedModel,
16-
[FeatureGDS, FeatureGWS, FeatureFlatAddressSpace]
16+
[FeatureGDS, FeatureFlatAddressSpace]
1717
>;
1818

1919
//===------------------------------------------------------------===//

0 commit comments

Comments
 (0)