We were calculating twice ilp32/lp64. Do this just in one place instead.
When 64-bit is upstreamed and lp64d implemented, I plan to default riscv64-unknown-linux-gnu to lp64d here.
Does this sound sensible?
@asb in D59298 I call riscv::getRISCVABI for ClangAs, does it make sense to make the same change for Clang here?
Given we now have support for the floating-point ABIs, can you rebase and update this patch?
Hi @lenary, sure I can rebase this.
However, I think it may be better to do the lp64d change in another phab so we can keep this one NFC.
Ok, sure! I think I'm happy for this to land then.
Thanks @lenary ! I will commit this shortly.