[PATCH] D52115: [PPC64] Add helpers for read/writing an instruction while relocating a half16 type. [NFC]
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 14 12:02:16 PDT 2018
sfertile created this revision.
sfertile added reviewers: syzaara, ruiu, rdhindsa, MaskRay.
Herald added subscribers: kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.
There are a growing number of places when we either want to read or write an instruction when handling a half16 relocation type. On big-endian the buffer pointer is pointing into the middle of the word we want and on little-endian it is pointing to the start of the word. These 2 helpers are to simplify reading and writing in these contexts
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D52115
Files:
ELF/Arch/PPC64.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52115.165561.patch
Type: text/x-patch
Size: 4594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180914/152d1ce7/attachment.bin>
More information about the llvm-commits
mailing list