[llvm] 4d6d563 - [TargetParser] Remove unused includes (NFC) (#116929)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 06:52:49 PST 2024


Author: Kazu Hirata
Date: 2024-11-20T06:52:45-08:00
New Revision: 4d6d56315d4ea2ae2b8059b99e45bdfee764861a

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

LOG: [TargetParser] Remove unused includes (NFC) (#116929)

Identified with misc-include-cleaner.

Added: 
    

Modified: 
    llvm/lib/TargetParser/RISCVTargetParser.cpp
    llvm/lib/TargetParser/SubtargetFeature.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TargetParser/RISCVTargetParser.cpp b/llvm/lib/TargetParser/RISCVTargetParser.cpp
index 49a35bfcf4b9b7..da3fbc04300e2f 100644
--- a/llvm/lib/TargetParser/RISCVTargetParser.cpp
+++ b/llvm/lib/TargetParser/RISCVTargetParser.cpp
@@ -15,7 +15,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/TargetParser/RISCVISAInfo.h"
-#include "llvm/TargetParser/Triple.h"
 
 namespace llvm {
 namespace RISCV {

diff  --git a/llvm/lib/TargetParser/SubtargetFeature.cpp b/llvm/lib/TargetParser/SubtargetFeature.cpp
index 2c51c403c19349..be42a429673326 100644
--- a/llvm/lib/TargetParser/SubtargetFeature.cpp
+++ b/llvm/lib/TargetParser/SubtargetFeature.cpp
@@ -19,7 +19,6 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/TargetParser/Triple.h"
-#include <algorithm>
 #include <string>
 #include <vector>
 


        


More information about the llvm-commits mailing list