[all-commits] [llvm/llvm-project] 361927: [PowerPC][PC Rel] Implement option to omit Power10...

Conanap via All-commits all-commits at lists.llvm.org
Thu Mar 4 10:28:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36192790d84ba1c9a814df4024967685b0dc27c5
      https://github.com/llvm/llvm-project/commit/36192790d84ba1c9a814df4024967685b0dc27c5
  Author: Albion Fung <albion.fung at ibm.com>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/Options.td
    M lld/ELF/Thunks.cpp
    M lld/ELF/Thunks.h
    M lld/test/ELF/ppc64-call-reach.s
    M lld/test/ELF/ppc64-long-branch-localentry-offset.s
    M lld/test/ELF/ppc64-long-branch-pi.s
    M lld/test/ELF/ppc64-long-branch-rel14.s
    M lld/test/ELF/ppc64-long-branch.s
    M lld/test/ELF/ppc64-pcrel-call-to-extern.s
    M lld/test/ELF/ppc64-pcrel-call-to-toc.s
    M lld/test/ELF/ppc64-plt-stub-compatible.s
    M lld/test/ELF/ppc64-tls-pcrel-gd.s
    M lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s
    M lld/test/ELF/ppc64-toc-call-to-pcrel.s
    M llvm/include/llvm/Object/ELF.h

  Log Message:
  -----------
  [PowerPC][PC Rel] Implement option to omit Power10 instructions from stubs

Implemented the option to omit Power10 instructions from save stubs via the
option --no-power10-stubs or --power10-stubs=no on lld. --power10-stubs= will
override the other option. --power10-stubs=auto also exists to use the default
behaviour (ie allow Power10 instructions in stubs).

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




More information about the All-commits mailing list