[PATCH] D85849: [X86] Flatten feature dependency tree at compile-time
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 13:51:55 PDT 2020
craig.topper added inline comments.
================
Comment at: llvm/lib/Support/X86TargetParser.cpp:580
+
+static const StringMap<FlatFeatureDependency> FeatureDependencyMap({
+#define X86_FEATURE(ENUM, STR) FlattenFeatureDependencies(__COUNTER__),
----------------
Doesn't this violate the no global constructor rule?
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