[PATCH] D27483: [mips] For PIC code convert unconditional jump to unconditional branch
Simon Atanasyan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 13:51:49 PST 2016
atanasyan created this revision.
atanasyan added a reviewer: sdardis.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.
Herald added a reviewer: vkalintiris.
Unconditional branch uses relative addressing which is the right choice in case of position independent code.
This is a fix for the bug:
https://dmz-portal.mips.com/bugz/show_bug.cgi?id=2445
Repository:
rL LLVM
https://reviews.llvm.org/D27483
Files:
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/expansion-j-sym-pic.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27483.80477.patch
Type: text/x-patch
Size: 6013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161206/6d146c1b/attachment.bin>
More information about the llvm-commits
mailing list