AMDGPU: Declare FeatureDPP with AMDGPUSubtargetFeature (#212408)

All other features were defined using the AMDGPUSubtargetFeature
subclass of SubtargetFeature, so fix the odd one out.
This commit is contained in:
Matt Arsenault 2026-07-28 08:03:04 +02:00 committed by GitHub
parent 2f6ec89938
commit 0a30b0c890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -703,10 +703,9 @@ defm SDWAOutModsVOPC : AMDGPUSubtargetFeature<"sdwa-out-mods-vopc",
/*GenPredicate=*/0
>;
def FeatureDPP : SubtargetFeature<"dpp",
"HasDPP",
"true",
"Support DPP (Data Parallel Primitives) extension"
defm DPP : AMDGPUSubtargetFeature<"dpp",
"Support DPP (Data Parallel Primitives) extension",
/*GenPredicate=*/0
>;
// DPP8 allows arbitrary cross-lane swizzling within groups of 8 lanes.