[PATCH] D59209: Allow fp as an alias of s0

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 08:17:13 PDT 2019


asb added a comment.

Thanks, I'd missed the `fp` alias as I was going by the riscv-elf-psabi-doc primarily.

I think rvi-alternate-abi-names.s would be a better name for the test. You can then add a comment explaining that: fp is an alternate ABI name for s0 it should be accepted in input, but s0 should be printed in preference. This is of course the behaviour your patch demonstrates!


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59209





More information about the llvm-commits mailing list