[PATCH] D129824: [RISCV] Set triple based on -march flag which can be deduced in more generic way

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 20:17:42 PDT 2022


MaskRay added a comment.

Both D54214 <https://reviews.llvm.org/D54214> and this look like a surprising behavior to me. Do we still have time to go back the state before D54214 <https://reviews.llvm.org/D54214> and make mismatching --target & -march= an error?

> clang -target=riscv32-- -march=rv64gc

`-target=` => `--target=`


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

https://reviews.llvm.org/D129824



More information about the cfe-commits mailing list