[PATCH] D130273: [clang][Driver] Handle SPARC -mcpu=native etc.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 21 19:51:42 PDT 2022


MaskRay added a comment.

I notice that in gcc, -march/-mtune/-mcpu are handled in gcc/config/* and every port may have somewhat different behaviors. E.g. x86 and aarch64 are different (and I suspect x86 has the weird behavior).

Have you checked that whether this matches GCC? We need some clang/test/Driver tests for `"-cc1"{{.*}} "-target-cpu" "..."`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130273



More information about the cfe-commits mailing list