Implements TargetLowering callback mayBeEmittedAsTailCall that enables
CodeGenPrepare to duplicate returns when they might enable a tail-call.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D141257
[LoongArch] Implement mayBeEmittedAsTailCall for tail call optimization ClosedPublic Authored by wangleiat on Jan 8 2023, 11:30 PM.
Details Summary Implements TargetLowering callback mayBeEmittedAsTailCall that enables
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 10 2023, 5:24 PM Closed by commit rGd7cd42192216: [LoongArch] Implement mayBeEmittedAsTailCall for tail call optimization (authored by wangleiat). · Explain WhyJan 11 2023, 7:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 488454 llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/bnez-beqz.ll
llvm/test/CodeGen/LoongArch/duplicate-returns-for-tailcall.ll
|