summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-08-18 08:29:51 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-08-18 08:29:51 +0000
commit8b2a3d1feab587843801c2ed1672c3ba83fdf9a1 (patch)
tree240cc70fa453b0f7c815e7890b58c717e8f2cc8d /llvm/lib/Target/Mips/Mips16InstrInfo.cpp
parent96933de7f519b03fadccb1a73eb8b2edefb06b06 (diff)
downloadbcm5719-llvm-8b2a3d1feab587843801c2ed1672c3ba83fdf9a1.tar.gz
bcm5719-llvm-8b2a3d1feab587843801c2ed1672c3ba83fdf9a1.zip
Remove unused stdio.h includes
llvm-svn: 188626
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/Mips16InstrInfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
index 887aa805c9d..9a04c85e080 100644
--- a/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
+++ b/llvm/lib/Target/Mips/Mips16InstrInfo.cpp
@@ -10,7 +10,7 @@
// This file contains the Mips16 implementation of the TargetInstrInfo class.
//
//===----------------------------------------------------------------------===//
-#include <stdio.h>
+
#include "Mips16InstrInfo.h"
#include "InstPrinter/MipsInstPrinter.h"
#include "MipsMachineFunction.h"
@@ -473,7 +473,6 @@ const MipsInstrInfo *llvm::createMips16InstrInfo(MipsTargetMachine &TM) {
return new Mips16InstrInfo(TM);
}
-#include <stdio.h>
bool Mips16InstrInfo::validImmediate(unsigned Opcode, unsigned Reg,
int64_t Amount) {
switch (Opcode) {
@@ -493,6 +492,5 @@ bool Mips16InstrInfo::validImmediate(unsigned Opcode, unsigned Reg,
return isInt<16>(Amount);
return isInt<15>(Amount);
}
- printf("Unexpected opcode %i \n", Opcode);
llvm_unreachable("unexpected Opcode in validImmediate");
}
OpenPOWER on IntegriCloud