MaskRay added a comment. This version looks good to me. The diagnostic should probably be similar to `error: expected 16-bit signed immediate` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D81908/new/ https://reviews.llvm.org/D81908