[PATCH] D150133: [RISCV] Support constant immediate for la pseudo instruction

garvit gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 07:32:56 PDT 2023


garvitgupta08 added a comment.

In D150133#4334850 <https://reviews.llvm.org/D150133#4334850>, @jrtc27 wrote:

> Using AUIPC to generate an absolute address (which is how GNU people seem to justify this ugly ability) sounds wrong

To be on the same page - GCC expands this instruction as what it does with li i.e. GCC expands it into lui + addi pair.


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

https://reviews.llvm.org/D150133



More information about the llvm-commits mailing list