summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2018-09-03 16:22:05 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2018-09-03 16:22:05 +0000
commitc30340b207493bc61acdea202dfda882be92df02 (patch)
tree6d1eef2c13af52cd7d1e79bbf5910c82f2ba3378 /llvm/lib/Target/X86
parent5a79d1e377f47d31d3cc4379619cc4096bdc6b1f (diff)
downloadbcm5719-llvm-c30340b207493bc61acdea202dfda882be92df02.tar.gz
bcm5719-llvm-c30340b207493bc61acdea202dfda882be92df02.zip
Add header guards to some headers that are missing them
Also adjust some of dsymutil's headers to put the header guards at the top, otherwise the compiler will not recognize them as header guards. llvm-svn: 341323
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/X86MacroFusion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86MacroFusion.h b/llvm/lib/Target/X86/X86MacroFusion.h
index 13fa2d78a01..97ef1d6d3b6 100644
--- a/llvm/lib/Target/X86/X86MacroFusion.h
+++ b/llvm/lib/Target/X86/X86MacroFusion.h
@@ -12,6 +12,9 @@
//
//===----------------------------------------------------------------------===//
+#ifndef LLVM_LIB_TARGET_X86_X86MACROFUSION_H
+#define LLVM_LIB_TARGET_X86_X86MACROFUSION_H
+
#include "llvm/CodeGen/MachineScheduler.h"
namespace llvm {
@@ -23,3 +26,5 @@ std::unique_ptr<ScheduleDAGMutation>
createX86MacroFusionDAGMutation();
} // end namespace llvm
+
+#endif
OpenPOWER on IntegriCloud