GlobalISel: properly conditionalize LLT use.

We can't guard the include of LowLevelType.h because getType and setType are
(trivial) functions even when GlobalISel isn't built.

llvm-svn: 276160
This commit is contained in:
Tim Northover 2016-07-20 19:17:29 +00:00
parent dc1f042171
commit d3f047a38f
1 changed files with 0 additions and 2 deletions

View File

@ -23,9 +23,7 @@
#include "llvm/ADT/iterator_range.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/CodeGen/MachineOperand.h"
#ifdef LLVM_BUILD_GLOBAL_ISEL
#include "llvm/CodeGen/LowLevelType.h"
#endif
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/MC/MCInstrDesc.h"