[PATCH] D21370: [mips] Emit a JALR with $rd equal to $zero, instead of a JR in MIPS32R6.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 04:12:43 PDT 2016


vkalintiris created this revision.
vkalintiris added reviewers: dsanders, sdardis.
vkalintiris added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders, dschuff, jfb.

JR is an alias of JALR with $rd=0 in the R6 ISA. Also, this fixes recursive
builds in MIPS32R6.

http://reviews.llvm.org/D21370

Files:
  lib/Target/Mips/MipsLongBranch.cpp
  test/CodeGen/Mips/longbranch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21370.60811.patch
Type: text/x-patch
Size: 4592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160615/0a05661c/attachment.bin>


More information about the llvm-commits mailing list