[llvm-dev] Modelling registers per subtarget

jeniffer lesley via llvm-dev llvm-dev at lists.llvm.org
Thu May 27 11:41:52 PDT 2021


Hi
For my toy architecture, I have two subtarget, target 1 and target 2.
Target 1 has 1024 and Target2 has 2048 GPRs. How do I model them in .td
files? Should I just create a RegisterClass for them? If so, how do I
associate them with SubtargetFeature or ProcessorModel?

If this is not the right way then can someone please educate?


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210528/99a1ec26/attachment.html>


More information about the llvm-dev mailing list