Initialize implicit uses/defs fields for sparc backend to empty list
authorChris Lattner <sabre@nondot.org>
Tue, 3 Dec 2002 05:41:54 +0000 (05:41 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Dec 2002 05:41:54 +0000 (05:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4876 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9TargetMachine.cpp

index d00fece480b268c970cce8cad93f6cc62cd9a87f..bca231d391c8806a8e296e830c6da6aa8f811dd4 100644 (file)
 #include "Support/CommandLine.h"
 using std::cerr;
 
+static const unsigned ImplicitRegUseList[] = { 0 }; /* not used yet */
 // Build the MachineInstruction Description Array...
 const MachineInstrDescriptor SparcMachineInstrDesc[] = {
 #define I(ENUM, OPCODESTRING, NUMOPERANDS, RESULTPOS, MAXIMM, IMMSE, \
           NUMDELAYSLOTS, LATENCY, SCHEDCLASS, INSTFLAGS)             \
   { OPCODESTRING, NUMOPERANDS, RESULTPOS, MAXIMM, IMMSE,             \
-          NUMDELAYSLOTS, LATENCY, SCHEDCLASS, INSTFLAGS, 0 },
+          NUMDELAYSLOTS, LATENCY, SCHEDCLASS, INSTFLAGS, 0,          \
+          ImplicitRegUseList, ImplicitRegUseList },
 #include "SparcInstr.def"
 };