[llvm] fee5a9a - MachineMemOperand.h - reduce GlobalValue.h include to just DerivedTypes.h. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 03:50:07 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-21T11:38:25+01:00
New Revision: fee5a9a6ea1369aafa9adc12cbaaee63e7d78431

URL: https://github.com/llvm/llvm-project/commit/fee5a9a6ea1369aafa9adc12cbaaee63e7d78431
DIFF: https://github.com/llvm/llvm-project/commit/fee5a9a6ea1369aafa9adc12cbaaee63e7d78431.diff

LOG: MachineMemOperand.h - reduce GlobalValue.h include to just DerivedTypes.h. NFC.

We don't need anything specifically from GlobalValue.h

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/MachineMemOperand.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h
index d8862d6c3386..1befe93def7d 100644
--- a/llvm/include/llvm/CodeGen/MachineMemOperand.h
+++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h
@@ -18,7 +18,7 @@
 #include "llvm/ADT/BitmaskEnum.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/CodeGen/PseudoSourceValue.h"
-#include "llvm/IR/GlobalValue.h"
+#include "llvm/IR/DerivedTypes.h"
 #include "llvm/IR/Value.h" // PointerLikeTypeTraits<Value*>
 #include "llvm/Support/AtomicOrdering.h"
 #include "llvm/Support/DataTypes.h"


        


More information about the llvm-commits mailing list