[PATCH] D126719: [clang-cl] Add support for /kernel

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 12:20:25 PDT 2022


thakis added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:7620
+     else if (Arch == llvm::Triple::x86_64)
+       UnsupportedArches = {"AVX", "AVX2", "AVX512"};
+
----------------
Making this list opt-in instead of opt-out (ie "SupportedArchs") seems a bit more future-proof: We're less likely to forget to update the list when new archs are added.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126719



More information about the cfe-commits mailing list