[PowerPC] Avoid using '$' in generated assembler code
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 3 May 2013 19:53:04 +0000 (19:53 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 3 May 2013 19:53:04 +0000 (19:53 +0000)
commitfcdfd5a7ffa2557753038fcbf421dd518e3fda98
tree8936829592b8839bd90ef8a6dab2508bbefa2f30
parenta7e5e6b959bfd2b7982e116a4fd6955b35534b4c
[PowerPC] Avoid using '$' in generated assembler code

PowerPC assemblers are supposed to support a stand-alone '$' symbol
as an alternative of '.' to refer to the current PC.  This does not
work in the LLVM assembler parser yet.

To avoid bootstrap failures when using the LLVM assembler as system
assembler, this patch modifies the assembler source code generated
by LLVM to avoid using '$' (and simply use '.' instead).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181054 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp