From: Tom Stellard Date: Thu, 7 Feb 2013 19:39:34 +0000 (+0000) Subject: R600: Add an explicit default processor X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b0b1a7feeedf1b93b23fcd6e675cbced0295f632;p=oota-llvm.git 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 --- diff --git a/lib/Target/R600/Processors.td b/lib/Target/R600/Processors.td index 3dc1ecda773..868810c613b 100644 --- a/lib/Target/R600/Processors.td +++ b/lib/Target/R600/Processors.td @@ -13,6 +13,7 @@ class Proc Features> : Processor; +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, []>;