[PATCH] D45186: [InstCombine] Don't strip function type casts from musttail calls

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 15:47:12 PDT 2018


rnk added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:4012
+  CallInst *CI = dyn_cast<CallInst>(Caller);
+  if (CI && CI->isMustTailCall())
+    return false;
----------------
efriedma wrote:
> `CS.isMustTailCall()`.
Thanks!


https://reviews.llvm.org/D45186





More information about the llvm-commits mailing list