diff options
author | wanglei <wanglei@loongson.cn> | 2023-01-12 10:33:11 +0800 |
---|---|---|
committer | wanglei <wanglei@loongson.cn> | 2023-01-12 11:08:30 +0800 |
commit | d7cd42192216939b29a06093be7b296050856d7a (patch) | |
tree | 5836b993c74f9b76a77d38435c36fe4da7155ffb /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 6e18277a51187ce8e861cdf0ab1395235e5b83d4 (diff) | |
download | llvm-d7cd42192216939b29a06093be7b296050856d7a.zip llvm-d7cd42192216939b29a06093be7b296050856d7a.tar.gz llvm-d7cd42192216939b29a06093be7b296050856d7a.tar.bz2 |
[LoongArch] Implement mayBeEmittedAsTailCall for tail call optimization
Implements TargetLowering callback `mayBeEmittedAsTailCall` that enables
CodeGenPrepare to duplicate returns when they might enable a tail-call.
Reviewed By: xen0n, MaskRay
Differential Revision: https://reviews.llvm.org/D141257
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions