llvm-6502/test/MC
Kevin Enderby 3121da3298 Un-revert: the buildbot failure in LLVM on lld-x86_64-win7 had me with
this commit as the only one on the Blamelist so I quickly reverted this.
However it was actually Nick's change who has since fixed that issue.

Original commit message:

Changed the X86 assembler for intel syntax to work with directional labels.

The X86 assembler as a separate code to parser the intel assembly syntax
in X86AsmParser::ParseIntelOperand().  This did not parse directional labels.
And if something like 1f was used as a branch target it would get an
"Unexpected token" error.

The fix starts in X86AsmParser::ParseIntelExpression() in the case for
AsmToken::Integer, it needs to grab the IntVal from the current token
then look for a 'b' or 'f' following an Integer.  Then it basically needs to
do what is done in AsmParser::parsePrimaryExpr() for directional
labels.  It saves the MCExpr it creates in the IntelExprStateMachine
in the Sym field.

When it returns to X86AsmParser::ParseIntelOperand() it looks
for a non-zero Sym field in the IntelExprStateMachine and if
set it creates a memory operand not an immediate operand
it would normally do for the Integer.

rdar://14961158


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197744 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-19 23:16:14 +00:00
..
AArch64 [AArch64] Add support for NEON scalar floating-point absolute difference. 2013-11-27 01:45:58 +00:00
ARM Implement the .ltorg directive for ARM assembly 2013-12-19 18:26:07 +00:00
AsmParser AsmParser: add support for .end directive 2013-12-18 02:53:03 +00:00
COFF MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
Disassembler Add a disassembler to the PowerPC backend 2013-12-19 16:13:01 +00:00
ELF Correct word hyphenations 2013-12-05 05:44:44 +00:00
MachO Fixed a bug in getARMFixupKindMachOInfo() where three ARM fixup kinds 2013-12-13 22:46:54 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
Mips Support for microMIPS control instructions. 2013-12-19 16:25:00 +00:00
PowerPC Convert another llc -filetype=obj test. 2013-10-28 22:17:19 +00:00
SystemZ [SystemZ] Add the general form of BCR 2013-11-13 16:57:53 +00:00
X86 Un-revert: the buildbot failure in LLVM on lld-x86_64-win7 had me with 2013-12-19 23:16:14 +00:00