R600: Add an explicit default processor
authorTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 19:39:34 +0000 (19:39 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 7 Feb 2013 19:39:34 +0000 (19:39 +0000)
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

lib/Target/R600/Processors.td

index 3dc1ecda773236e499a56ba457befb07300e16e9..868810c613b3e211702b65ae4aec523ff81498cd 100644 (file)
@@ -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, []>;