[llvm] [RISCV][MC] Pass MCSubtargetInfo down to shouldForceRelocation and evaluateTargetFixup. (PR #73721)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 19:54:56 PST 2023


topperc wrote:

> I think that we should consider the alternative idea as well - generating the relocations to enable relaxations if `-mrelax` is set.

How can we tell if -mrelax is set other than this patch? Isn't it only stored in function attributes?

https://github.com/llvm/llvm-project/pull/73721


More information about the llvm-commits mailing list