diff options
| author | bors <bors@rust-lang.org> | 2025-03-12 22:33:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-12 22:33:54 +0000 |
| commit | 0e76f8b7e02b1ddd349dde1501f73426a4e764cf (patch) | |
| tree | 327c36271cadd1c1fc939762ded4a35934d75085 /compiler/rustc_driver_impl/src/pretty.rs | |
| parent | 249cb84316401daf040832cdbb8a45e0f5ab6af8 (diff) | |
| parent | 5bae3adde9410c4f0f7363ec44b183a255463a0e (diff) | |
| download | rust-0e76f8b7e02b1ddd349dde1501f73426a4e764cf.tar.gz rust-0e76f8b7e02b1ddd349dde1501f73426a4e764cf.zip | |
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..].
Diffstat (limited to 'compiler/rustc_driver_impl/src/pretty.rs')
0 files changed, 0 insertions, 0 deletions
