[PATCH] D95424: [CodeGenPrepare] Also skip lifetime.end intrinsic when check return block in dupRetToEnableTailCallOpts

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 19:28:00 PST 2021


aqjune added a comment.

Hi,
This transformation is basically removing lifetime.end, is my understanding right?

In terms of correctness, this is fine IMO because removing lifetime.end makes the program more defined.
It is also syntactically fine to have an unmatched lifetime.start because LLVM already removes unreachable code that may contain lifetime.end.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95424/new/

https://reviews.llvm.org/D95424



More information about the llvm-commits mailing list