summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit29ffbf123fc5ffe9ef3cf3cdb17cf8ff20bd0a78 (patch)
treeeaa43da60a18d6ead0cca3e5fae75e701253a732 /llvm/lib/Target/XCore/XCoreISelLowering.h
parent6d3e92dfee073a0964411daa85dd0cb4db53bfc9 (diff)
downloadbcm5719-llvm-29ffbf123fc5ffe9ef3cf3cdb17cf8ff20bd0a78.tar.gz
bcm5719-llvm-29ffbf123fc5ffe9ef3cf3cdb17cf8ff20bd0a78.zip
Switch XCore over to using inline jump table entries.
llvm-svn: 98256
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreISelLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.h b/llvm/lib/Target/XCore/XCoreISelLowering.h
index f597780d691..3ccdeec141b 100644
--- a/llvm/lib/Target/XCore/XCoreISelLowering.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud