summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp b/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
index 29e2dd0e0c..c18eff941b 100644
--- a/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
+++ b/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
@@ -41,14 +41,6 @@ FunctionPass *llvm::createXCoreFrameToArgsOffsetEliminationPass() {
return new XCoreFTAOElim();
}
-static inline bool isImmU6(unsigned val) {
- return val < (1 << 6);
-}
-
-static inline bool isImmU16(unsigned val) {
- return val < (1 << 16);
-}
-
bool XCoreFTAOElim::runOnMachineFunction(MachineFunction &MF) {
const XCoreInstrInfo &TII =
*static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());