]> granicus.if.org Git - llvm/commitdiff
[ARM] Fix some Include What You Use warnings; other minor fixes (NFC).
authorEugene Zelenko <eugene.zelenko@gmail.com>
Fri, 3 Feb 2017 21:48:12 +0000 (21:48 +0000)
committerEugene Zelenko <eugene.zelenko@gmail.com>
Fri, 3 Feb 2017 21:48:12 +0000 (21:48 +0000)
This is preparation to reduce MCExpr.h dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294052 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h

index 3667952d44c0c4fd42f74bbf880e1be514b40741..57b91366a0858e6021699b4d60133489c0cf039d 100644 (file)
 #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?
index 9d80eed84dc266c05d6c2b18c939cd74c3f107b4..86873a3a6ccbbd5e21b1655d64a4164ad87c0ee3 100644 (file)
@@ -235,4 +235,4 @@ public:
 
 } // end namespace llvm
 
-#endif
+#endif // LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H