[llvm] [MC][TableGen] Make MCRegisterClasses relocation-free (PR #206753)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 13:52:51 PDT 2026
arsenm wrote:
> I don't think we can merge the TargetRegisterClass .cpp with the MCRegisterClass .cpp -- this doesn't work with how LLVM's library layering is set up. Users should be able to link to just the MC parts of LLVM, rather than having to link in all of the Target layer stuff.
TargetRegisterClass itself almost only depends on MCRegisterClass. I'm not really sure what the point of distinguishing them is. The one problem is OrderFunc, which feels like it shouldn't be there in the first place
https://github.com/llvm/llvm-project/pull/206753
More information about the llvm-commits
mailing list