[llvm] 628b024 - AllocationOrder.h - split MCRegisterInfo.h include. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 10:42:59 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-24T18:42:43+01:00
New Revision: 628b0243c89829a060ceecca1c11f7174e038ac0

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

LOG: AllocationOrder.h - split MCRegisterInfo.h include. NFC.
We only require to include MCRegister.h and SmallVector.h.

Added: 
    

Modified: 
    llvm/lib/CodeGen/AllocationOrder.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/AllocationOrder.h b/llvm/lib/CodeGen/AllocationOrder.h
index 9247dd844936..fa0690ab4ea5 100644
--- a/llvm/lib/CodeGen/AllocationOrder.h
+++ b/llvm/lib/CodeGen/AllocationOrder.h
@@ -17,8 +17,9 @@
 #define LLVM_LIB_CODEGEN_ALLOCATIONORDER_H
 
 #include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/STLExtras.h"
-#include "llvm/MC/MCRegisterInfo.h"
+#include "llvm/MC/MCRegister.h"
 
 namespace llvm {
 


        


More information about the llvm-commits mailing list