[all-commits] [llvm/llvm-project] f9c256: Reapply "[ControlHeightReduction] Drop lifetime an...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Thu Sep 25 06:55:50 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f9c2565117106467c3c8b1975e67c9750aee34e3
https://github.com/llvm/llvm-project/commit/f9c2565117106467c3c8b1975e67c9750aee34e3
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-09-25 (Thu, 25 Sep 2025)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
A llvm/test/Transforms/PGOProfile/chr-lifetimes.ll
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list