diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-09-25 06:55:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-25 13:55:27 +0000 |
| commit | f9c2565117106467c3c8b1975e67c9750aee34e3 (patch) | |
| tree | 0d0596317c8f76acbc690b5efbdb50ca984e2f96 /libcxx/include/__algorithm/minmax.h | |
| parent | f3f5d8bea836e01a2bc12edf5980c3a51de2fd7a (diff) | |
| download | llvm-f9c2565117106467c3c8b1975e67c9750aee34e3.zip llvm-f9c2565117106467c3c8b1975e67c9750aee34e3.tar.gz llvm-f9c2565117106467c3c8b1975e67c9750aee34e3.tar.bz2 | |
Reapply "[ControlHeightReduction] Drop lifetime annotations where necessary" (#160640)
Reapplies #159686
This reverts commit 4f33d7b7a9f39d733b7572f9afbf178bca8da127.
The original landing of this patch had an issue where it would try and
hoist allocas into the entry block that were in the entry block. This
would end up actually moving them lower in the block potentially after
users, resulting in invalid IR.
This update fixes this by ensuring that we are only hoisting static
allocas that have been sunk into a split basic block. A regression test
has been added.
Integration tested using a three stage build of clang with IRPGO
enabled.
Diffstat (limited to 'libcxx/include/__algorithm/minmax.h')
0 files changed, 0 insertions, 0 deletions
