[PATCH] D63043: [ELF][PPC] Simplify {read,write}FromHalf16

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 21:13:52 PDT 2019


MaskRay created this revision.
MaskRay added a reviewer: ruiu.
Herald added subscribers: llvm-commits, jsji, kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

I've change the variable name used in PPC64.cpp from "Instr" to "Insn"
because "Insn" seems a more common abbreviation for "instruction".

While changing PPC64.cpp relocateOne(), make R_PPC64_ADDR16_LO{_DS}
slightly more efficient by saving a read and a write for the TocOptimize
case.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D63043

Files:
  ELF/Arch/PPC.cpp
  ELF/Arch/PPC64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63043.203667.patch
Type: text/x-patch
Size: 6367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190608/38d93268/attachment.bin>


More information about the llvm-commits mailing list