[PATCH] D24763: [mips] Restrict tail call optimization
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 06:52:43 PDT 2016
sdardis created this revision.
sdardis added reviewers: vkalintiris, zoran.jovanovic.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.
Herald added a subscriber: sdardis.
The tail call optimization was being used without proper consideration of
ABI requirements for saving and restoring the GP. This patch restricts tail
call optimization to functions within the same translation unit.
Repository:
rL LLVM
https://reviews.llvm.org/D24763
Files:
lib/Target/Mips/MipsISelLowering.cpp
test/CodeGen/Mips/fastcc.ll
test/CodeGen/Mips/i64arg.ll
test/CodeGen/Mips/lazy-binding.ll
test/CodeGen/Mips/llvm-ir/call.ll
test/CodeGen/Mips/tailcall/tailcall-wrong-isa.ll
test/CodeGen/Mips/tailcall/tailcall.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24763.71926.patch
Type: text/x-patch
Size: 15724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160920/f31cb88b/attachment.bin>
More information about the llvm-commits
mailing list