[PATCH] D67705: [mips] Expand 'lw/sw' instructions for 32-bit GOT
Simon Atanasyan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 06:41:03 PDT 2019
atanasyan created this revision.
atanasyan added a reviewer: Petar.Avramovic.
Herald added subscribers: jrtc27, hiraditya, arichardson, sdardis.
Herald added a project: LLVM.
In case of using 32-bit GOT access to the table requires two instructions with attached %got_hi and %got_lo relocations. This patch implements correct expansion of 'lw/sw' instructions in that case.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67705
Files:
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/test/MC/Mips/mips-expansions.s
llvm/test/MC/Mips/mips64-expansions.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67705.220656.patch
Type: text/x-patch
Size: 21762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190918/a5d5d6c6/attachment.bin>
More information about the llvm-commits
mailing list