el-ev wrote: Looks good for adding support for `$sp`. Should we other general purpose registers as well? The Clang frontend accepts `$1` through `$31` along with their aliases. Currently,`$28`, `sp` and `$sp` work here, but the rest still cause a crash. https://github.com/llvm/llvm-project/pull/136821