[PATCH] D64905: [NFC][CodeGen] Modify the type element of TailCalls to simplify the dupRetToEnableTailCallOpts()
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 11:30:19 PDT 2019
jsji accepted this revision.
jsji added a comment.
This revision is now accepted and ready to land.
LGTM.
================
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
----------------
Can this be a range based for?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64905/new/
https://reviews.llvm.org/D64905
More information about the llvm-commits
mailing list