This patch enhances X86AsmParser's immediate expression parsing abilities, to include a named synonymous for selected binary/unary bitwise operators: {and,shl,shr,or,xor,not}, ultimately achieving better MS-compatability
MASM reference:
https://msdn.microsoft.com/en-us/library/94b6khh4.aspx
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/AsmParser/X86AsmParser.cpp | ||
---|---|---|
685 ↗ | (On Diff #92760) | I don't think it should be part of the state machine. I think this function should move to the parser and be activates as part of ParseIntelExpression. |
test/MC/X86/intel-syntax-bitwise-ops.s | ||
9 ↗ | (On Diff #92760) | It seems you have a space instead of a tab in all the checks |
42 ↗ | (On Diff #92760) | Add a few tests for the upper case as well (AND, OR). |