[LoongArch] Implement isUsedByReturnOnly for tailcall more libcalls
authorwanglei <wanglei@loongson.cn>
Wed, 1 Feb 2023 02:14:43 +0000 (10:14 +0800)
committerwanglei <wanglei@loongson.cn>
Thu, 2 Feb 2023 02:12:56 +0000 (10:12 +0800)
commite9d658f72b3600102f7a057574f232954510a308
tree1790b2eb0c9a50ee6ed83879f4f7fc81872a8b94
parent011e4abb498098aed2f8447dd4117d5c4e09c0f0
[LoongArch] Implement isUsedByReturnOnly for tailcall more libcalls

Similar to D131087 for RISCV.

Reviewed By: xen0n

Differential Revision: https://reviews.llvm.org/D142958
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/test/CodeGen/LoongArch/fp-expand.ll
llvm/test/CodeGen/LoongArch/frint.ll