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

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 11:59:37 PDT 2020


craig.topper added inline comments.


================
Comment at: clang/lib/Serialization/ASTReader.cpp:395
     CHECK_TARGET_OPT(CPU, "target CPU");
+    CHECK_TARGET_OPT(TuneCPU, "tune CPU");
+  }
----------------
erichkeane wrote:
> What does this string do?  Does there have to be a test for it?
It seems to be used by a diagnostic. But I couldn't find any tests for the diagnostic for "target CPU" that I could copy from.


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

https://reviews.llvm.org/D86488



More information about the cfe-commits mailing list