[PATCH] D82414: [X86] Replace PROC macros with an enum and a lookup table of processor information.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 06:27:11 PDT 2020


erichkeane accepted this revision.
erichkeane added a comment.
This revision is now accepted and ready to land.

1 nit, plus the clang-tidy suggestions.



================
Comment at: clang/lib/Basic/Targets/X86.cpp:1559
+           "CPU Type without a key feature used in 'target' attribute");
+    return (getFeaturePriority((ProcessorFeatures)KeyFeature) << 1) + 1;
   }
----------------
static-cast?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82414





More information about the cfe-commits mailing list