[llvm] 5844d29 - [RISCV] Remove unused flags from FeatureKind in TargetParser.h. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 18:38:19 PST 2022
Author: Craig Topper
Date: 2022-01-26T18:38:13-08:00
New Revision: 5844d29e7686d2cf2c4de8d93a4b9fdfa0d4a310
URL: https://github.com/llvm/llvm-project/commit/5844d29e7686d2cf2c4de8d93a4b9fdfa0d4a310
DIFF: https://github.com/llvm/llvm-project/commit/5844d29e7686d2cf2c4de8d93a4b9fdfa0d4a310.diff
LOG: [RISCV] Remove unused flags from FeatureKind in TargetParser.h. NFC
These flags aren't used and we shouldn't add more flags for new
ratified extensions. So clear out the unused flags to avoid any
confusion.
Reviewed By: khchen
Differential Revision: https://reviews.llvm.org/D118294
Added:
Modified:
llvm/include/llvm/Support/TargetParser.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/TargetParser.h b/llvm/include/llvm/Support/TargetParser.h
index a6f8ebe1381a6..02a8d72483db6 100644
--- a/llvm/include/llvm/Support/TargetParser.h
+++ b/llvm/include/llvm/Support/TargetParser.h
@@ -158,12 +158,7 @@ enum CPUKind : unsigned {
enum FeatureKind : unsigned {
FK_INVALID = 0,
FK_NONE = 1,
- FK_STDEXTM = 1 << 2,
- FK_STDEXTA = 1 << 3,
- FK_STDEXTF = 1 << 4,
- FK_STDEXTD = 1 << 5,
- FK_STDEXTC = 1 << 6,
- FK_64BIT = 1 << 7,
+ FK_64BIT = 1 << 2,
};
bool checkCPUKind(CPUKind Kind, bool IsRV64);
More information about the llvm-commits
mailing list