Skip to content
Commit 87990ee4 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Remove special validation for INT immediate operand from AsmParser....

[X86] Remove special validation for INT immediate operand from AsmParser. 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
parent c6e1b971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment