[PATCH] D150133: [RISCV] Support constant immediate for la pseudo instruction
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 04:46:11 PDT 2023
asb added a comment.
Honestly I'd be leaning towards compatibility with GAS in this case. `la` with integer arguments may not seem elegant, but it's consistent with flexibility afforded elsewhere (e.g. `add` with integer arguments).
But yes, if you want to propose this please do use the same expansion that binutils/gas does (essentially having `la` of an immediate as an alias of `li` as I understand it).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150133/new/
https://reviews.llvm.org/D150133
More information about the llvm-commits
mailing list