[PATCH] D45186: [InstCombine] Don't strip function type casts from musttail calls
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 2 15:44:50 PDT 2018
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM with one minor change.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:4012
+ CallInst *CI = dyn_cast<CallInst>(Caller);
+ if (CI && CI->isMustTailCall())
+ return false;
----------------
`CS.isMustTailCall()`.
https://reviews.llvm.org/D45186
More information about the llvm-commits
mailing list