[PATCH] D85455: [XCOFF][AIX] Use TE storage mapping class when large code model is enabled

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 11:15:42 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: hubert.reinterpretcast, daltenty, DiggerLin, Xiangling_L.
Herald added subscribers: llvm-commits, arphaman, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
jasonliu requested review of this revision.
Herald added a subscriber: wuzish.

Use TE SMC instead of TC SMC in large code model mode,
so that code compiled with large code model TOC reference would not 
take up spaces from the normal small code model TOC reference.


https://reviews.llvm.org/D85455

Files:
  llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  llvm/include/llvm/Target/TargetLoweringObjectFile.h
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/lib/MC/MCSectionXCOFF.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
  llvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
  llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
  llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll
  llvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85455.283676.patch
Type: text/x-patch
Size: 11117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/87dcdbec/attachment.bin>


More information about the llvm-commits mailing list