diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Processors.td')
-rw-r--r-- | llvm/lib/Target/AMDGPU/Processors.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/Processors.td b/llvm/lib/Target/AMDGPU/Processors.td index d30d1d38258..23bf66463bf 100644 --- a/llvm/lib/Target/AMDGPU/Processors.td +++ b/llvm/lib/Target/AMDGPU/Processors.td @@ -10,6 +10,12 @@ class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features> : Processor<Name, itin, Features>; +// The code produced for "generic" is only useful for tests and cannot +// reasonably be expected to execute on any particular target. +def : ProcessorModel<"generic", NoSchedModel, [ + FeatureGCN +]>; + //===----------------------------------------------------------------------===// // R600 //===----------------------------------------------------------------------===// |