[llvm] da3bf81 - X86InstrFoldTables.h - remove unnecessary include. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 03:41:30 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-20T11:39:38+01:00
New Revision: da3bf811befd0c09721a8ae282657c815633eaa5

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

LOG: X86InstrFoldTables.h - remove unnecessary include. NFC.
We don't need the limits defines, just the sized integer types so use cstdint system header directly.

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86InstrFoldTables.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86InstrFoldTables.h b/llvm/lib/Target/X86/X86InstrFoldTables.h
index 7dc236a0d7e4..b7aca27ab2bb 100644
--- a/llvm/lib/Target/X86/X86InstrFoldTables.h
+++ b/llvm/lib/Target/X86/X86InstrFoldTables.h
@@ -13,7 +13,7 @@
 #ifndef LLVM_LIB_TARGET_X86_X86INSTRFOLDTABLES_H
 #define LLVM_LIB_TARGET_X86_X86INSTRFOLDTABLES_H
 
-#include "llvm/Support/DataTypes.h"
+#include <cstdint>
 
 namespace llvm {
 


        


More information about the llvm-commits mailing list