[PATCH] D85849: [X86] Flatten feature dependency tree at compile-time

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 11:14:57 PDT 2020


craig.topper added a comment.

Do you have compile time numbers for this after https://reviews.llvm.org/D85807 ?



================
Comment at: llvm/lib/Support/X86TargetParser.cpp:583
+    FeatureDependencies[X86::CPU_FEATURE_MAX] = {
+#define X86_FEATURE(ENUM, STR) FlattenFeatureDependencies(__COUNTER__),
+#include "llvm/Support/X86TargetParser.def"
----------------
I've never seen __COUNTER__ before. Is it supported by all the compilers we support. I couldn't find other uses in tree.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85849



More information about the llvm-commits mailing list