[PATCH] D129824: [RISCV] Set triple based on -march flag which can be deduced in more generic way
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 15 20:21:21 PDT 2022
jrtc27 added a comment.
In D129824#3794221 <https://reviews.llvm.org/D129824#3794221>, @MaskRay wrote:
> 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?
Then there's no -m32 equivalent; that's what -march currently gives you... also GCC lets you do it. And -target is Clang-specific so you can't write something that works for both compilers.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129824/new/
https://reviews.llvm.org/D129824
More information about the cfe-commits
mailing list