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)
commita4fc8d94ce0bd140117be2bb094e00765aed70e2
tree8ed3fd01f5a223516434bec956781071ddc982d6
parent95d6325859d73aee850442e2f79c5d90d13e68cc
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!

llvm-svn: 77745
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/AsmParser/hello.s [new file with mode: 0644]