[PATCH] D36472: [mips] Lift the assertion on the types that can be used with MipsGPRel
Simon Dardis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 09:17:09 PDT 2017
sdardis created this revision.
Herald added a subscriber: arichardson.
Post commit review of https://reviews.llvm.org/rL308619 highlighted the need for handling N64
with -fno-pic. Testing reveale a stale assert when generating a GP
relative addressing mode.
This patch removes that assert and adds the necessary patterns for
MIPS64 to perform gp relative addressing with -fno-pic
(and the implicit -mno-abicalls + -mgpopt).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6787 bytes
Desc: not available
More information about the llvm-commits