diff options
author | Nikita Popov <npopov@redhat.com> | 2022-10-13 16:45:37 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-11-07 15:26:00 +0100 |
commit | 9a45e4beede24fdcd6b7d95416d0447ba154651c (patch) | |
tree | 68fb1cd9c18cce746fdd1991324703d2bc01f835 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | bada35390ad77ea023df7fa027d6de717b79bce2 (diff) | |
download | llvm-9a45e4beede24fdcd6b7d95416d0447ba154651c.zip llvm-9a45e4beede24fdcd6b7d95416d0447ba154651c.tar.gz llvm-9a45e4beede24fdcd6b7d95416d0447ba154651c.tar.bz2 |
[MemCpyOpt] Move lifetime marker before call to enable call slot optimization
Currently call slot optimization may be prevented because the
lifetime markers for the destination only start after the call.
In this case, rather than aborting the transform, we should move
the lifetime.start before the call to enable the transform.
Differential Revision: https://reviews.llvm.org/D135886
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions