summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2016-07-29 08:16:16 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2016-07-29 08:16:16 +0000
commit0eb96ed0de8ca918a0365ce8ba743d7633089fc1 (patch)
tree8084d74fc1c1e22abb8bea0136f0a82654389551 /llvm/lib/Target/MSP430
parentf605c198c9ae45951dff98224d92593c1596186b (diff)
downloadbcm5719-llvm-0eb96ed0de8ca918a0365ce8ba743d7633089fc1.tar.gz
bcm5719-llvm-0eb96ed0de8ca918a0365ce8ba743d7633089fc1.zip
TargetInstrInfo: add virtual function getInstSizeInBytes
This adds a target hook getInstSizeInBytes to TargetInstrInfo that a lot of subclasses already implement. Differential Revision: https://reviews.llvm.org/D22885 llvm-svn: 277126
Diffstat (limited to 'llvm/lib/Target/MSP430')
-rw-r--r--llvm/lib/Target/MSP430/MSP430InstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.h b/llvm/lib/Target/MSP430/MSP430InstrInfo.h
index 40a81cc6421..1db438c8d67 100644
--- a/llvm/lib/Target/MSP430/MSP430InstrInfo.h
+++ b/llvm/lib/Target/MSP430/MSP430InstrInfo.h
@@ -68,7 +68,7 @@ public:
const TargetRegisterClass *RC,
const TargetRegisterInfo *TRI) const override;
- unsigned getInstSizeInBytes(const MachineInstr &MI) const;
+ unsigned getInstSizeInBytes(const MachineInstr &MI) const override;
// Branch folding goodness
bool
OpenPOWER on IntegriCloud