[Powerpc darwin] AsmParser Base implementation.
authorIain Sandoe <iain@codesourcery.com>
Sat, 14 Dec 2013 13:34:02 +0000 (13:34 +0000)
committerIain Sandoe <iain@codesourcery.com>
Sat, 14 Dec 2013 13:34:02 +0000 (13:34 +0000)
commit771005ce98f82b458accb0a6ca83fc683818c629
treec7e5133d6ba5299a7fe5ca905a2bbae261c97a53
parentda48260ed46b61865639932c1013b417123b5028
[Powerpc darwin] AsmParser Base implementation.

This is a base implementation of the powerpc-apple-darwin asm parser dialect.

* Enables infrastructure (essentially isDarwin()) and fixes up the parsing of asm directives to separate out ELF and MachO/Darwin additions.
* Enables parsing of {r,f,v}XX as register identifiers.
* Enables parsing of lo16() hi16() and ha16() as modifiers.

The changes to the test case are from David Fang (fangism).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
test/CodeGen/PowerPC/hello-reloc.s