diff options
author | Sotiris Apostolakis <apostolakis@google.com> | 2022-09-13 18:48:59 +0000 |
---|---|---|
committer | Sotiris Apostolakis <apostolakis@google.com> | 2022-09-13 19:00:18 +0000 |
commit | eda61fb656ab9e7b38330a94031ae1aac90eae3a (patch) | |
tree | dd2e7a4a4b32d67918a35d1139bbc6ffe0259915 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 4b96f8996a52f45663c2815aa47c96c099e3a49e (diff) | |
download | llvm-eda61fb656ab9e7b38330a94031ae1aac90eae3a.zip llvm-eda61fb656ab9e7b38330a94031ae1aac90eae3a.tar.gz llvm-eda61fb656ab9e7b38330a94031ae1aac90eae3a.tar.bz2 |
[SelectOpti] Fix lifetime intrinsic bug
When a select is converted to a branch and load instructions are sinked to the true/false blocks,
lifetime intrinsics (if present) could be made unsound if not moved.
This conservatively moves all lifetime intrinsics in a transformed BB to the end block to ensure
preserved lifetime semantics.
Reviewed By: davidxl
Differential Revision: https://reviews.llvm.org/D133777
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions