[all-commits] [llvm/llvm-project] 20abff: [XCOFF][AIX] Use TE storage mapping class when lar...

jasonliudev via All-commits all-commits at lists.llvm.org
Mon Aug 10 12:53:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20abff0481d598c850d2690083f90700fc8c9603
      https://github.com/llvm/llvm-project/commit/20abff0481d598c850d2690083f90700fc8c9603
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

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

  Log Message:
  -----------
  [XCOFF][AIX] Use TE storage mapping class when large code model is enabled

Summary:
Use TE SMC instead of TC SMC in large code model mode,
so that large code model TOC entries could get placed after all
the small code model TOC entries, which reduces the chance of TOC overflow.

Reviewed By: Xiangling_L

Differential Revision: https://reviews.llvm.org/D85455




More information about the All-commits mailing list