[PATCH] D131087: [RISCV] Implement isUsedByReturnOnly TargetLowering hook in order to tailcall more libcalls
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 08:27:57 PDT 2022
reames accepted this revision.
reames added a comment.
This revision is now accepted and ready to land.
LGTM w/minor comment
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:11791
+
+ SDValue TCChain = Chain;
+ SDNode *Copy = *N->use_begin();
----------------
It doesn't look like this variable is ever used. Delete it, and just assign Chain directly on return.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131087/new/
https://reviews.llvm.org/D131087
More information about the llvm-commits
mailing list