Large code model support for PowerPC.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 21 Feb 2013 17:12:27 +0000 (17:12 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 21 Feb 2013 17:12:27 +0000 (17:12 +0000)
commit27917785ae9e5f56bf94c8a3bdd35d9ee714b714
treeb82ad24d5f4a78eff5ba1009abef67783bc80847
parent97781c4dd0a0d426551a41f0d7249a4040af7bd9
Large code model support for PowerPC.

Large code model is identical to medium code model except that the
addis/addi sequence for "local" accesses is never used.  All accesses
use the addis/ld sequence.

The coding changes are straightforward; most of the patch is taken up
with creating variants of the medium model tests for large model.

llvm-svn: 175767
15 files changed:
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstr64Bit.td
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/test/CodeGen/PowerPC/mcm-1.ll
llvm/test/CodeGen/PowerPC/mcm-2.ll
llvm/test/CodeGen/PowerPC/mcm-3.ll
llvm/test/CodeGen/PowerPC/mcm-4.ll
llvm/test/CodeGen/PowerPC/mcm-5.ll
llvm/test/CodeGen/PowerPC/mcm-6.ll
llvm/test/CodeGen/PowerPC/mcm-7.ll
llvm/test/CodeGen/PowerPC/mcm-8.ll
llvm/test/CodeGen/PowerPC/mcm-9.ll
llvm/test/CodeGen/PowerPC/mcm-obj.ll