diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-01-15 21:18:39 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-01-15 21:18:39 +0000 |
commit | 05011a8aba3a4e8f011ac92990423947f8cbb15b (patch) | |
tree | 3fa2492de27517e7698c6ee0a02a8a455eed145e /lib/Target/MSP430/MSP430.td | |
parent | cb50e0bd60167440e2e41274f9d3c3c0e88d90ad (diff) |
Provide instruction sizes & encoding. No opcodes yet (but not needed so far).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430.td')
-rw-r--r-- | lib/Target/MSP430/MSP430.td | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Target/MSP430/MSP430.td b/lib/Target/MSP430/MSP430.td index 870a3dfd37..fe533d3d2e 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"; |