[llvm] r174651 - R600: Add an explicit default processor
Tom Stellard
thomas.stellard at amd.com
Thu Feb 7 11:39:34 PST 2013
Author: tstellar
Date: Thu Feb 7 13:39:34 2013
New Revision: 174651
URL: http://llvm.org/viewvc/llvm-project?rev=174651&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/R600/Processors.td
Modified: llvm/trunk/lib/Target/R600/Processors.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/Processors.td?rev=174651&r1=174650&r2=174651&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/Processors.td (original)
+++ llvm/trunk/lib/Target/R600/Processors.td Thu Feb 7 13:39:34 2013
@@ -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, []>;
More information about the llvm-commits
mailing list