This patch addresses bug 14678 by fixing two problems in medium code model
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 7 Jan 2013 19:29:18 +0000 (19:29 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 7 Jan 2013 19:29:18 +0000 (19:29 +0000)
commit5b7f9216c357f1cdf507f300f396b44cb982eb3f
tree0ec0da8431762da98a57a1a6a7dc944053f46836
parent3ebe59c892051375623fea55e977ff559fdb3323
This patch addresses bug 14678 by fixing two problems in medium code model
code generation.  Variables addressed through a GlobalAlias were not being
handled, and variables with available_externally linkage were treated
incorrectly.  The patch contains two new tests to verify the correct code
generation for these cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171778 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
test/CodeGen/PowerPC/mcm-8.ll [new file with mode: 0644]
test/CodeGen/PowerPC/mcm-9.ll [new file with mode: 0644]