projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1f042
)
GlobalISel: properly conditionalize LLT use.
author
Tim Northover
<tnorthover@apple.com>
Wed, 20 Jul 2016 19:17:29 +0000
(19:17 +0000)
committer
Tim Northover
<tnorthover@apple.com>
Wed, 20 Jul 2016 19:17:29 +0000
(19:17 +0000)
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
llvm/include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/MachineInstr.h
b/llvm/include/llvm/CodeGen/MachineInstr.h
index
b9c6546
..
ab31a83
100644
(file)
--- a/
llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/
llvm/include/llvm/CodeGen/MachineInstr.h
@@
-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"