diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h index 44f5a750ff5c..2810713fd2aa 100644 --- a/llvm/include/llvm/Support/Signals.h +++ b/llvm/include/llvm/Support/Signals.h @@ -15,6 +15,8 @@ #define LLVM_SUPPORT_SIGNALS_H #include +#include + namespace llvm { class StringRef; diff --git a/llvm/lib/Target/Patmos/PatmosInstrInfo.cpp b/llvm/lib/Target/Patmos/PatmosInstrInfo.cpp index 13c4627df593..b7f4f5b553ff 100644 --- a/llvm/lib/Target/Patmos/PatmosInstrInfo.cpp +++ b/llvm/lib/Target/Patmos/PatmosInstrInfo.cpp @@ -575,7 +575,6 @@ PatmosII::MemType PatmosInstrInfo::getMemType(const MachineInstr &MI) { case SWM: case SHM: case SBM: return PatmosII::MEM_M; default: - MI.dump(); llvm_unreachable("Unexpected memory access instruction!"); }