[PATCH] D108422: [NFC][clang] Move remaining part of X86Target.def to llvm/Support/X86TargetParser.def

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 20 07:52:19 PDT 2021


erichkeane added inline comments.


================
Comment at: llvm/include/llvm/Support/X86TargetParser.def:220
+
+// FIXME: When commented out features are supported in LLVM, enable them here.
+CPU_SPECIFIC("generic", 'A', "")
----------------
RKSimon wrote:
> what commented out features?
So this is copy/pasted from: https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Basic/X86Target.def#L70 (where it will probably be removed in a future patch?).

That comment came from here: https://reviews.llvm.org/D47474

If you look at the 'diff' here: https://reviews.llvm.org/D47474?vs=148894&id=156484#toc (1st patch vs last)  You can see that the original used a bitmask to create the values rather than the string list (as suggested by @craig.topper in the review).  That version had some commented out in the bitmasks.

However, I never removed the comment!  So this comment likely should just be deleted.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108422/new/

https://reviews.llvm.org/D108422



More information about the cfe-commits mailing list