[PATCH] D43729: [CallSiteSplitting] properly split musttail calls
Fedor Indutny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 10:21:35 PST 2018
indutny added inline comments.
================
Comment at: lib/Transforms/Scalar/CallSiteSplitting.cpp:215
+ Instruction *Copy = I->clone();
+ Copy->setName(I->getName());
+ Copy->insertBefore(Before);
----------------
fhahn wrote:
> I don't think we need to do that.
We need it for fancy names in output IR. Those `%ca1`, `%ca2` come out because of it.
https://reviews.llvm.org/D43729
More information about the llvm-commits
mailing list