[PATCH] D95424: [CodeGenPrepare] Also skip lifetime.end intrinsic when check return block in dupRetToEnableTailCallOpts
JunMa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 25 23:33:08 PST 2021
junparser created this revision.
junparser added reviewers: greened, aqjune, bkramer.
junparser added a project: LLVM.
Herald added a subscriber: hiraditya.
junparser requested review of this revision.
Herald added a subscriber: llvm-commits.
As we find in many real workloads that there are maybe some lifetime.end intrinsics existing in return block, so it is better to skip lifetime.end intrinsic as well. This patch just do such thing.
TestPlan: check-llvm
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95424
Files:
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/Transforms/CodeGenPrepare/ARM/tailcall-dup.ll
llvm/test/Transforms/CodeGenPrepare/X86/tailcall-assume-xbb.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95424.319217.patch
Type: text/x-patch
Size: 3387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/9209c0f3/attachment.bin>
More information about the llvm-commits
mailing list