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

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 20:24:07 PST 2023


compnerd wrote:

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

Do we have that?  I thought that we tracked it only at the module level, not the function level. That was something that technically is supported by gcc, but not something that we could do with clang. It would also allow us to fix some of the limitations in the assembler IIRC.

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


More information about the llvm-commits mailing list