[PATCH] D48638: [Sparc] Add support for the cycle counter available in GR740

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 15 12:39:16 PDT 2018


jyknight added a comment.

I wonder if we perhaps shouldn't've modeled the ASR registers as registers at all (other than Y -- it's "special"). That seems to be what other targets do with their MSRs. Not sure if it really matters...

Anyways, having it be marked reserved seems correct.  It may be simpler to just always mark ASR1-31 as reserved, though?


https://reviews.llvm.org/D48638





More information about the llvm-commits mailing list