[PowerPC] Remove VK_PPC_TLSGD and VK_PPC_TLSLD
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 21:29:06 +0000 (21:29 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 2 Jul 2013 21:29:06 +0000 (21:29 +0000)
commit58fc1f52ce070003acbdfedc85d52ba999a2bd11
tree176ef4aca4f9b31533dc9c98a0adfce88a051284
parent24dd7dbe7f2a3338a20314b3863f6b738cc1c298
[PowerPC] Remove VK_PPC_TLSGD and VK_PPC_TLSLD

The PowerPC-specific modifiers VK_PPC_TLSGD and VK_PPC_TLSLD
correspond exactly to the generic modifiers VK_TLSGD and VK_TLSLD.
This causes some confusion with the asm parser, since VK_PPC_TLSGD
is output as @tlsgd, which is then read back in as VK_TLSGD.

To avoid this confusion, this patch removes the PowerPC-specific
modifiers and uses the generic modifiers throughout.  (The only
drawback is that the generic modifiers are printed in upper case
while the usual convention on PowerPC is to use lower-case modifiers.
But this is just a cosmetic issue.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185476 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCExpr.h
lib/MC/MCELFStreamer.cpp
lib/MC/MCExpr.cpp
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
test/CodeGen/PowerPC/tls-gd.ll
test/CodeGen/PowerPC/tls-ld-2.ll
test/CodeGen/PowerPC/tls-ld.ll