[PATCH] D86820: [X86] Add a /tune: option for clang-cl

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 04:38:30 PDT 2020


hans added a comment.

Okay, adding it to clang-cl seems fine to me. But I think it could be a simple alias?



================
Comment at: clang/include/clang/Driver/Options.td:4693
   HelpText<"Set architecture for code generation">;
+def _SLASH_tune : CLCompileJoined<"tune:">,
+  HelpText<"Set CPU for optimization without affecting instruction set">;
----------------
Any reason this can't just be an alias?


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

https://reviews.llvm.org/D86820



More information about the cfe-commits mailing list