[ARM] Fix some Include What You Use warnings; other minor fixes (NFC).

This is preparation to reduce MCExpr.h dependencies.

llvm-svn: 294052
This commit is contained in:
Eugene Zelenko 2017-02-03 21:48:12 +00:00
parent c3164b9c2f
commit 07dc38f67a
2 changed files with 9 additions and 2 deletions

View File

@ -20,7 +20,15 @@
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/SubtargetFeature.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
using namespace llvm;
#define DEBUG_TYPE "asm-printer"
@ -73,7 +81,6 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
unsigned Opcode = MI->getOpcode();
switch (Opcode) {
// Check for MOVs and print canonical forms, instead.
case ARM::MOVsr: {
// FIXME: Thumb variants?

View File

@ -235,4 +235,4 @@ public:
} // end namespace llvm
#endif
#endif // LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H