diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 19:39:34 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-02-07 19:39:34 +0000 |
commit | b0b1a7feeedf1b93b23fcd6e675cbced0295f632 (patch) | |
tree | 6036894b7f0069db86a1022d40b7f1a5237518a9 | |
parent | f89de816ae5cf2d0dad7869882dd626532b934ef (diff) |
R600: Add an explicit default processor
This is for the case when no processor is passed to the backend. This
prevents the
'' is not a recognized processor for this target (ignoring processor)
warning from being generated by clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174651 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/R600/Processors.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/Processors.td b/lib/Target/R600/Processors.td index 3dc1ecda77..868810c613 100644 --- a/lib/Target/R600/Processors.td +++ b/lib/Target/R600/Processors.td @@ -13,6 +13,7 @@ class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Features> : Processor<Name, itin, Features>; +def : Proc<"", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"r600", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"rv710", R600_EG_Itin, []>; def : Proc<"rv730", R600_EG_Itin, []>; |