summaryrefslogtreecommitdiffstats
path: root/lib/Target/MSP430/MSP430.td
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/MSP430/MSP430.td')
-rw-r--r--lib/Target/MSP430/MSP430.td10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Target/MSP430/MSP430.td b/lib/Target/MSP430/MSP430.td
index 870a3df..fe533d3 100644
--- a/lib/Target/MSP430/MSP430.td
+++ b/lib/Target/MSP430/MSP430.td
@@ -48,8 +48,14 @@ include "MSP430CallingConv.td"
include "MSP430InstrInfo.td"
-def MSP430InstrInfo : InstrInfo {}
-
+def MSP430InstrInfo : InstrInfo {
+ // Define how we want to layout our TargetSpecific information field... This
+ // should be kept up-to-date with the fields in the MSP430InstrInfo.h file.
+ let TSFlagsFields = ["FormBits",
+ "Size"];
+ let TSFlagsShifts = [0,
+ 2];
+}
def MSP430InstPrinter : AsmWriter {
string AsmWriterClassName = "InstPrinter";
OpenPOWER on IntegriCloud