summaryrefslogtreecommitdiff
path: root/lib/Target/R600/Processors.td
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-07 19:39:34 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-07 19:39:34 +0000
commitb0b1a7feeedf1b93b23fcd6e675cbced0295f632 (patch)
tree6036894b7f0069db86a1022d40b7f1a5237518a9 /lib/Target/R600/Processors.td
parentf89de816ae5cf2d0dad7869882dd626532b934ef (diff)
downloadllvm-b0b1a7feeedf1b93b23fcd6e675cbced0295f632.tar.gz
llvm-b0b1a7feeedf1b93b23fcd6e675cbced0295f632.tar.bz2
llvm-b0b1a7feeedf1b93b23fcd6e675cbced0295f632.tar.xz
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
Diffstat (limited to 'lib/Target/R600/Processors.td')
-rw-r--r--lib/Target/R600/Processors.td1
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, []>;