[MC] Support @ variants with directional labels
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 20 Jun 2013 16:24:17 +0000 (16:24 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 20 Jun 2013 16:24:17 +0000 (16:24 +0000)
commit151ad37fed2685f020bbed5b342ad7c0c35616bd
tree60b1a168d8491148277818368ac08233e4bd142d
parent027e94479c9e69eb3c3c5536fa9990d0b96e9510
[MC] Support @ variants with directional labels

The assembler parser common code supports recognizing symbol variants
using the @ modifer.  On PowerPC, it should also be possible to use
(some of) those modifiers with directional labels, like "1f@l".

This patch adds support for accepting symbol variants on directional
labels as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/PowerPC/ppc64-fixup-apply.s