[all-commits] [llvm/llvm-project] b20f2d: [MachineSink] Lower SplitEdgeProbabilityThreshold
Guy David via All-commits
all-commits at lists.llvm.org
Tue Feb 18 08:31:33 PST 2025
Branch: refs/heads/users/guy-david/machine-sink
Home: https://github.com/llvm/llvm-project
Commit: b20f2dc6ce822e3345415caacba82c3c8ca416c7
https://github.com/llvm/llvm-project/commit/b20f2dc6ce822e3345415caacba82c3c8ca416c7
Author: Guy David <guyda96 at gmail.com>
Date: 2025-02-18 (Tue, 18 Feb 2025)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
Log Message:
-----------
[MachineSink] Lower SplitEdgeProbabilityThreshold
Lower it slightly below the likeliness of a null-check to be true which
is set to 37.5% (see PtrUntakenProb).
Otherwise, it will split the edge and create another basic-block and
with an unconditional branch which might make the CFG more complex and
with a suboptimal block placement.
Note that if multiple instructions can be sinked from the same edge then
a split will occur regardless of this change.
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