[PATCH] D49237: [PPC64] Optimize redundant instructions using R_PPC64_TOC16_HA in nop

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 14:24:13 PDT 2018


sfertile updated this revision to Diff 165829.
sfertile marked 5 inline comments as done.
sfertile added a comment.

Moved checking of OPT_toc_optimise until after the machine has been decided and made it default to on only for PowerPC64.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49237

Files:
  ELF/Arch/PPC64.cpp
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Options.td
  test/ELF/Inputs/ppc64le-quadword-ldst.o
  test/ELF/ppc64-func-entry-points.s
  test/ELF/ppc64-got-indirect.s
  test/ELF/ppc64-relocs.s
  test/ELF/ppc64-toc-addis-nop-lqsq.s
  test/ELF/ppc64-toc-addis-nop.s
  test/ELF/ppc64-tocopt-option.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49237.165829.patch
Type: text/x-patch
Size: 18118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180917/27ddc702/attachment.bin>


More information about the llvm-commits mailing list