julia
9cea0509 - test: add throwing function to cold-unreachable-branches llvmpasses test

Commit
94 days ago
test: add throwing function to cold-unreachable-branches llvmpasses test After the bounds-check codegen change in #61535, bounds checks emit their own branch-weight metadata (4000000:4001) and no longer feed through the unreachable-cold-branches pass, so the existing boundscheck functions only produced the (2000, 1) variant. Add a function whose throwing basic block is the first successor so the (1, 2000) variant is also exercised. This change was written with the assistance of generative AI (Claude). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author
Parents
Loading