[PATCH] D86488: [X86] Default to -mtune=generic unless -march is passed to the driver. Add TuneCPU to the AST serialization

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 11:30:35 PDT 2020


erichkeane added inline comments.


================
Comment at: clang/lib/Serialization/ASTReader.cpp:395
     CHECK_TARGET_OPT(CPU, "target CPU");
+    CHECK_TARGET_OPT(TuneCPU, "tune CPU");
+  }
----------------
What does this string do?  Does there have to be a test for it?


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

https://reviews.llvm.org/D86488



More information about the cfe-commits mailing list