Skip to content

Commit e47b12e

Browse files
committed
AMDGPU: Remove "gws" feature from generic targets
Here "generic targets" means when no target is specified. This is bexause gfx12 does not have this festure, and thus it is no longer universally available. Fixes: SWDEV-541399
1 parent 7704f81 commit e47b12e

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)