Auto merge of #138076 - tmiasko:pred-count, r=matthewjasper

Calculate predecessor count directly

Avoid allocating a vector of small vectors merely to determine how many
predecessors each basic block has.

Additionally use u8 and saturating operations. The pass only needs to
distinguish between [0..1] and [2..].
This commit is contained in:
bors 2025-03-12 22:33:54 +00:00
commit 49fb487b76

Diff Content Not Available