This also fixes a bug where negative immediates below -128 were not being reported as errors. llvm-svn: 249989
The int instruction takes as an operand an 8-bit immediate value. Validate that the input is valid rather than silently truncating the value. llvm-svn: 225941