[all-commits] [llvm/llvm-project] d7cd42: [LoongArch] Implement mayBeEmittedAsTailCall for t...
wanglei via All-commits
all-commits at lists.llvm.org
Wed Jan 11 19:08:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7cd42192216939b29a06093be7b296050856d7a
https://github.com/llvm/llvm-project/commit/d7cd42192216939b29a06093be7b296050856d7a
Author: wanglei <wanglei at loongson.cn>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/test/CodeGen/LoongArch/bnez-beqz.ll
A llvm/test/CodeGen/LoongArch/duplicate-returns-for-tailcall.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list