summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreISelLowering.h
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2010-03-11 14:58:56 +0000
committerRichard Osborne <richard@xmos.com>2010-03-11 14:58:56 +0000
commitf766ce55805d45c4ad21c4b452fb26187aeb1b1b (patch)
tree1eb7f403129fb482a16b77e4f0b773e03539cda9 /lib/Target/XCore/XCoreISelLowering.h
parent95da605e15a6f108b551ecc6772823ea53de3007 (diff)
downloadllvm-f766ce55805d45c4ad21c4b452fb26187aeb1b1b.tar.gz
llvm-f766ce55805d45c4ad21c4b452fb26187aeb1b1b.tar.bz2
llvm-f766ce55805d45c4ad21c4b452fb26187aeb1b1b.tar.xz
Switch XCore over to using inline jump table entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreISelLowering.h')
-rw-r--r--lib/Target/XCore/XCoreISelLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreISelLowering.h b/lib/Target/XCore/XCoreISelLowering.h
index f597780d69..3ccdeec141 100644
--- a/lib/Target/XCore/XCoreISelLowering.h
+++ b/lib/Target/XCore/XCoreISelLowering.h
@@ -80,6 +80,8 @@ namespace llvm {
explicit XCoreTargetLowering(XCoreTargetMachine &TM);
+ virtual unsigned getJumpTableEncoding() const;
+
/// LowerOperation - Provide custom lowering hooks for some operations.
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG);