simoncook added a comment.

In D54214#1609967 <https://reviews.llvm.org/D54214#1609967>, @lenary wrote:

> What happens if I pass `clang -march=rv32i -target riscv64-unknown-elf`? 
> Should we care about the ordering of `-march` vs `-target`?


Currently this patch makes the output be generated for rv32i. I think that 
`-march` should override `-target` since it is more fine grained, is used as 
the default way of controlling extensions, and may be less confusing than last 
XLEN wins.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D54214



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to