[PATCH] D67415: [GlobalISel] When a tail call is emitted in a block, stop translating it
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 16:25:07 PDT 2019
aemerson accepted this revision.
aemerson added a comment.
This revision is now accepted and ready to land.
LGTM with nit.
================
Comment at: llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp:1574
+ if (Success) {
+ const TargetInstrInfo *TII = MF->getSubtarget().getInstrInfo();
+ HasTailCall = TII->isTailCall(*std::prev(MIRBuilder.getInsertPt()));
----------------
Assert here that HasTailCall == false?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67415/new/
https://reviews.llvm.org/D67415
More information about the llvm-commits
mailing list