summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/Sparc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-03 05:41:54 +0000
committerChris Lattner <sabre@nondot.org>2002-12-03 05:41:54 +0000
commitc6d6d62c8e2ae4ab4165b44a96124b2cbe4cd271 (patch)
tree64cc51988ef37fe8368f1b7d981dde3a2635a3c8 /llvm/lib/Target/Sparc/Sparc.cpp
parentaa0d2c5fb3dfc552227224b1e9270280d4b51fd3 (diff)
downloadbcm5719-llvm-c6d6d62c8e2ae4ab4165b44a96124b2cbe4cd271.tar.gz
bcm5719-llvm-c6d6d62c8e2ae4ab4165b44a96124b2cbe4cd271.zip
Initialize implicit uses/defs fields for sparc backend to empty list
llvm-svn: 4876
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp
index d00fece480b..bca231d391c 100644
--- a/llvm/lib/Target/Sparc/Sparc.cpp
+++ b/llvm/lib/Target/Sparc/Sparc.cpp
@@ -23,12 +23,14 @@
#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"
};
OpenPOWER on IntegriCloud