topperc wrote: > You likely missed C_SRLI64_HINT and C_SRAI64_HINT (noticed from the other PR), but overall this seems to be sensible Yeah. I'll rebase this patch after I push the other one. https://github.com/llvm/llvm-project/pull/112269