[PATCH] D146463: [CodeGen][RISCV] Change Shadow Call Stack Register to X3
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 5 21:22:15 PDT 2023
jrtc27 added a comment.
>From an ABI/codegen perspective the small data limit doesn’t matter here, all it does is govern whether things go in .sdata or not. The linker is what chooses whether to use GP, which happens regardless of whether something is in .sdata, just things in .sdata are more likely to be picked, since GP is defined to be 0x800 from its start. What matters is that the linker is told not to do GP relaxation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146463/new/
https://reviews.llvm.org/D146463
More information about the cfe-commits
mailing list