[PATCH] D64905: [NFC][CodeGen] Modify the type element of TailCalls to simplify the dupRetToEnableTailCallOpts()
Zhang Kang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 20:06:16 PDT 2019
ZhangKang marked 2 inline comments as done.
ZhangKang added inline comments.
================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:2061
bool Changed = false;
- for (unsigned i = 0, e = TailCalls.size(); i != e; ++i) {
- CallInst *CI = TailCalls[i];
- CallSite CS(CI);
-
+ for (unsigned i = 0, e = TailCallBB.size(); i != e; ++i) {
// Make sure the call instruction is followed by an unconditional branch to
----------------
jsji wrote:
> Can this be a range based for?
Done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64905/new/
https://reviews.llvm.org/D64905
More information about the llvm-commits
mailing list