[PATCH] D118294: [RISCV] Remove unused flags from FeatureKind in TargetParser.h. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 16:28:32 PST 2022


craig.topper created this revision.
craig.topper added reviewers: asb, luismarques, kito-cheng, khchen.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, StephenFan, vkmr, dexonsmith, evandro, sameer.abuasal, s.egerton, Jim, benna, psnobl, rogfer01, simoncook.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118294

Files:
  llvm/include/llvm/Support/TargetParser.h


Index: llvm/include/llvm/Support/TargetParser.h
===================================================================
--- llvm/include/llvm/Support/TargetParser.h
+++ llvm/include/llvm/Support/TargetParser.h
@@ -158,12 +158,7 @@
 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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118294.403435.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/d2fdd703/attachment.bin>


More information about the llvm-commits mailing list