Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [X86] Remove special validation for INT immediate operand from AsmParser. ↵ | Craig Topper | 2015-10-11 | 1 | -1/+7 |
| | | | | | | | | Instead mark its operand type as u8imm which will cause it to fail to match. This is more consistent with other instruction behavior. This also fixes a bug where negative immediates below -128 were not being reported as errors. llvm-svn: 249989 | ||||
* | X86: validate 'int' instruction | Saleem Abdulrasool | 2015-01-14 | 1 | -0/+9 |
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 |