[PATCH] D21138: [mips] Enable tail calls by default
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 22 04:57:53 PDT 2016
sdardis removed rL LLVM as the repository for this revision.
sdardis updated this revision to Diff 61531.
sdardis added a comment.
Changed TailCallReg (all variants) to use jr $dst over jalr zero, $dst. This should avoid mispredicts on implementations with a return address predictor.
http://reviews.llvm.org/D21138
Files:
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/Mips32r6InstrInfo.td
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/Mips64r6InstrInfo.td
lib/Target/Mips/MipsDelaySlotFiller.cpp
lib/Target/Mips/MipsInstrInfo.cpp
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsSEISelLowering.cpp
test/CodeGen/Mips/biggot.ll
test/CodeGen/Mips/brdelayslot.ll
test/CodeGen/Mips/cconv/reserved-space.ll
test/CodeGen/Mips/compactbranches/tailrecursion.ll
test/CodeGen/Mips/fastcc.ll
test/CodeGen/Mips/gpreg-lazy-binding.ll
test/CodeGen/Mips/i64arg.ll
test/CodeGen/Mips/indirectcall.ll
test/CodeGen/Mips/lazy-binding.ll
test/CodeGen/Mips/llvm-ir/call.ll
test/CodeGen/Mips/nacl-branch-delay.ll
test/CodeGen/Mips/tailcall.ll
test/CodeGen/Mips/tailrecursion.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21138.61531.patch
Type: text/x-patch
Size: 28877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160622/19317c3e/attachment.bin>
More information about the llvm-commits
mailing list