otp icon indicating copy to clipboard operation
otp copied to clipboard

compiler: Note non-obvious behavior of beam_ssa:split_blocks/4

Open frej opened this issue 1 year ago • 1 comments

beam_ssa:split_blocks/4 does not split and create a new empty block if the predicate returns true for the first instruction in a block. As I have gotten tripped up on this for the second time, the first time was at least a year ago, note this in the function comment.

frej avatar Oct 23 '24 06:10 frej

CT Test Results

    2 files    323 suites   9m 9s :stopwatch:   821 tests   819 :white_check_mark: 2 :zzz: 0 :x: 5 447 runs  5 445 :white_check_mark: 2 :zzz: 0 :x:

Results for commit d90b0b28.

:recycle: This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

github-actions[bot] avatar Oct 23 '24 06:10 github-actions[bot]

Thanks!

bjorng avatar Oct 24 '24 08:10 bjorng