Revert rG5c4b4a62256876 "PseudoSourceValue.h - reduce GlobalValue.h include to forwar...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Apr 2020 15:11:26 +0000 (16:11 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 29 Apr 2020 15:12:19 +0000 (16:12 +0100)
Causes buildbot failures.

llvm/include/llvm/CodeGen/MachineMemOperand.h
llvm/include/llvm/CodeGen/PseudoSourceValue.h
llvm/lib/CodeGen/PseudoSourceValue.cpp

index 699bccc..5698bcf 100644 (file)
 #include "llvm/ADT/BitmaskEnum.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/CodeGen/PseudoSourceValue.h"
-#include "llvm/IR/Type.h"
 #include "llvm/IR/Value.h" // PointerLikeTypeTraits<Value*>
 #include "llvm/Support/AtomicOrdering.h"
-#include <cstdint>
+#include "llvm/Support/DataTypes.h"
 
 namespace llvm {
 
index e1dc9e1..593a865 100644 (file)
 #define LLVM_CODEGEN_PSEUDOSOURCEVALUE_H
 
 #include "llvm/ADT/StringMap.h"
+#include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/ValueMap.h"
 #include <map>
 
 namespace llvm {
 
-class GlobalValue;
 class MachineFrameInfo;
 class MachineMemOperand;
 class MIRFormatter;
index 8923d8b..74e721d 100644 (file)
@@ -15,7 +15,6 @@
 #include "llvm/CodeGen/MachineFrameInfo.h"
 #include "llvm/CodeGen/TargetInstrInfo.h"
 #include "llvm/IR/DerivedTypes.h"
-#include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"