OSDN Git Service

llvm-mc: A few more parsing / match tweaks.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 31 Jul 2009 22:22:54 +0000 (22:22 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 31 Jul 2009 22:22:54 +0000 (22:22 +0000)
commitc09e411102878c7f01ef707c2ac52eb3c76ab77b
treea515167f660360b231f490199df3ab102a853949
parenta0ee862f2e3a0d202244e02459ddcf0dca0e8607
llvm-mc: A few more parsing / match tweaks.
 - Operands which are just a label should be parsed as immediates, not memory
   operands (from the assembler perspective).

 - Match a few more flavors of immediates.

 - Distinguish match functions for memory operands which don't take a segment
   register.

 - We match the .s for "hello world" now!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77745 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/AsmParser/hello.s [new file with mode: 0644]