[llvm] [RISCV][MC] Pass MCSubtargetInfo down to shouldForceRelocation and evaluateTargetFixup. (PR #73721)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 10:14:44 PST 2023
ilovepi wrote:
How does this work w/ LTO? There are quite a few issues related to LTO code generation + target features that crop up fairly frequently(https://github.com/llvm/llvm-project/issues/50591#issuecomment-1830804872). Notably the need to pass `-mllvm -mattr=+c -mllvm -mattr=+relax` to the linker explicitly w/ LTO on RISC-V. But AFAICT it could equally affect other targets. Do you expect this patch would help with that?
https://github.com/llvm/llvm-project/pull/73721
More information about the llvm-commits
mailing list