diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2013-09-10 22:42:31 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2013-09-10 22:42:31 +0000 |
commit | 63a9660a414299bbb93a1edf914c5200413adf73 (patch) | |
tree | a405009dab0cad69c9ef013e1f6be6b05aa4b54f /lib/Target/XCore | |
parent | 21a6a5013d30d0515bc36da1ef49fa7c2e838f16 (diff) | |
download | external_llvm-63a9660a414299bbb93a1edf914c5200413adf73.zip external_llvm-63a9660a414299bbb93a1edf914c5200413adf73.tar.gz external_llvm-63a9660a414299bbb93a1edf914c5200413adf73.tar.bz2 |
Remove unused functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore')
-rw-r--r-- | lib/Target/XCore/XCoreFrameLowering.cpp | 4 | ||||
-rw-r--r-- | lib/Target/XCore/XCoreISelLowering.cpp | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/XCore/XCoreFrameLowering.cpp b/lib/Target/XCore/XCoreFrameLowering.cpp index b57cf9d..c60259d 100644 --- a/lib/Target/XCore/XCoreFrameLowering.cpp +++ b/lib/Target/XCore/XCoreFrameLowering.cpp @@ -30,10 +30,6 @@ using namespace llvm; // helper functions. FIXME: Eliminate. -static inline bool isImmUs(unsigned val) { - return val <= 11; -} - static inline bool isImmU6(unsigned val) { return val < (1 << 6); } diff --git a/lib/Target/XCore/XCoreISelLowering.cpp b/lib/Target/XCore/XCoreISelLowering.cpp index 9917ca3..e209c29 100644 --- a/lib/Target/XCore/XCoreISelLowering.cpp +++ b/lib/Target/XCore/XCoreISelLowering.cpp @@ -259,11 +259,6 @@ LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const return GA; } -static inline SDValue BuildGetId(SelectionDAG &DAG, SDLoc dl) { - return DAG.getNode(ISD::INTRINSIC_WO_CHAIN, dl, MVT::i32, - DAG.getConstant(Intrinsic::xcore_getid, MVT::i32)); -} - SDValue XCoreTargetLowering:: LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const { |