[PATCH] D23301: [mips] Correct tail call pattern for MIPSR6
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 02:28:48 PDT 2016
sdardis created this revision.
sdardis added reviewers: dsanders, vkalintiris.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.
Herald added subscribers: sdardis, dsanders.
r277708 enabled tails calls for MIPS but used the 'jr' instruction when the
jump target was held in a register. For MIPSR6, 'jalr $zero, $reg' should
have been used. Additionally, add missing patterns for external and global
symbols for tail calls.
Repository:
rL LLVM
https://reviews.llvm.org/D23301
Files:
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/Mips32r6InstrInfo.td
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/Mips64r6InstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/CodeGen/Mips/tailcall.ll
test/CodeGen/Mips/tailcall/tailcall-wrong-isa.ll
test/CodeGen/Mips/tailcall/tailcall.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23301.67303.patch
Type: text/x-patch
Size: 15436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160809/89b129d9/attachment.bin>
More information about the llvm-commits
mailing list