[PATCH] D137495: [LoongArch] Add GHC Calling Convention

Lin Runze via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 6 21:37:12 PST 2022


lrzlin added a comment.

@wangleiat 
I have consulted the RISC-V codemodel here, which `CodeModel::Small` is represented by `addi (lui %hi(sym)) %lo(sym)`, using for accessing the first 2GiB of address space, I think it could be implemented in LoongArch also, or LoongArch have a different codemodel here?


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

https://reviews.llvm.org/D137495



More information about the llvm-commits mailing list