[all-commits] [llvm/llvm-project] b25cc4: [MachineSink] Lower SplitEdgeProbabilityThreshold

Guy David via All-commits all-commits at lists.llvm.org
Tue Feb 18 08:20:09 PST 2025


  Branch: refs/heads/users/guy-david/machine-sink
  Home:   https://github.com/llvm/llvm-project
  Commit: b25cc4a65fce26deab32cae032e6e83d2d45d37a
      https://github.com/llvm/llvm-project/commit/b25cc4a65fce26deab32cae032e6e83d2d45d37a
  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.



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