From 4ded0c1c42382cbc077729dc733706f4806c1d59 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 7 Feb 2013 19:39:34 +0000 Subject: [PATCH] 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. llvm-svn: 174651 --- llvm/lib/Target/R600/Processors.td | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/R600/Processors.td b/llvm/lib/Target/R600/Processors.td index 3dc1ecd..868810c 100644 --- a/llvm/lib/Target/R600/Processors.td +++ b/llvm/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, []>; -- 2.7.4