[PATCH] D63547: [AIX]Global Address Lowering
Xiangling Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 06:23:02 PDT 2019
Xiangling_L created this revision.
Xiangling_L added reviewers: sfertile, jasonliu, hubert.reinterpretcast, syzaara, daltenty, cebowleratibm.
Xiangling_L added a project: LLVM.
Herald added subscribers: llvm-commits, jsji, kbarton, hiraditya, nemanjai.
This patch implements global address lowering for 32/64 bit with small/large code model.
1.For 32bit large code model on AIX, there are newly added pseudo opcode LWZtocL & ADDIStocHA32, the support of which on MC layer will be provided by future patches.
2.The default code model on AIX should be small code model
3.Since AIX does not have medium code model, "report_fatal_error" when users specify it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63547
Files:
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix.ll
llvm/test/CodeGen/PowerPC/lower-globaladdr64-aix.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63547.205568.patch
Type: text/x-patch
Size: 14955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190619/12512af5/attachment.bin>
More information about the llvm-commits
mailing list