diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2016-08-04 09:17:07 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2016-08-04 09:17:07 +0000 |
commit | 57f4ae4625fba08eef7451b14a01ae07d9b632af (patch) | |
tree | 4c52e0b556de23fd9b205721eb820b04fb553e92 /llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll | |
parent | b18751578421b6cc93f70a690d4902d28e18a1a4 (diff) | |
download | bcm5719-llvm-57f4ae4625fba08eef7451b14a01ae07d9b632af.tar.gz bcm5719-llvm-57f4ae4625fba08eef7451b14a01ae07d9b632af.zip |
[mips] Enable tail calls by default
Enable tail calls by default for (micro)MIPS(64).
microMIPS is slightly more tricky than doing it for MIPS(R6) or microMIPSR6.
microMIPS has two instruction encodings: 16bit and 32bit along with some
restrictions on the size of the instruction that can fill the delay slot.
For safe tail calls for microMIPS, the delay slot filler attempts to find
a correct size instruction for the delay slot of TAILCALL pseudos.
Reviewers: dsanders, vkalintris
Subscribers: jfb, dsanders, sdardis, llvm-commits
Differential Revision: https://reviews.llvm.org/D21138
llvm-svn: 277708
Diffstat (limited to 'llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll b/llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll index 98849ded707..0330d7c36ef 100644 --- a/llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll +++ b/llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll @@ -6,7 +6,7 @@ ; CHECK: jalr $25 ; CHECK: nop ; CHECK-NOT: move $gp -; CHECK: jalr $25 +; CHECK: jr $25 define void @f0() nounwind { entry: |