This is an archive of the discontinued LLVM Phabricator instance.

[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
CodeGenPrepare to duplicate returns when they might enable a tail-call.

Diff Detail

Event Timeline

wangleiat created this revision.Jan 8 2023, 11:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 11:30 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
wangleiat requested review of this revision.Jan 8 2023, 11:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 11:30 PM
xen0n accepted this revision.Jan 10 2023, 5:24 PM
This revision is now accepted and ready to land.Jan 10 2023, 5:24 PM
MaskRay accepted this revision.Jan 10 2023, 10:49 PM