https://github.com/smithp35 commented: Some minor suggestions for the code. I've checked over all the bit-patterns in the Arm ARM so I'm confident that the immediates have been correctly extracted. https://github.com/llvm/llvm-project/pull/98291