This patch splits tbz/tbnz into 32-bit/64-bit register variants, this allows us to properly emit diagnostics for out of range immediates and also removes some manual handling of these instructions.
As with my previous patches, there is no testcase for this as it is part of the merge of MC/AArch64/basic-a64-diagnostics.s.
The ImmLeaf predicate here looks wrong.
If you want to match "(ARM64tbz GPR64:$Rn, 0)" it needs to go via a separate Pat using EXTRACT_SUBREG. Otherwise you'll create an instruction like "TBZX %x0, 0", which may print plausibly but will almost certainly be encoded incorrectly.