Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jhogberg
Copy link
Contributor

@jhogberg jhogberg commented Jan 2, 2023

The prefer_xregs subpass sometimes mixed which registers were used for bs_checked_xyz psuedo-instructions, making the bs_translate subpass generate bogus code.

There's nothing wrong with mixing per se though, so we probably want to teach the bs_translate pass how to handle this in the future.

    {bs_match,{f,42},{y,1},{commands,[{ensure_at_least,16,1}]}}.
    {bs_match,{f,0},{x,0},{commands,[{skip,8}]}}.
    {bs_match,{f,42},{x,0},{commands,[{'=:=',nil,8,0},{ensure_exactly,0}]}}.

Fixes #6613

@jhogberg jhogberg added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels Jan 2, 2023
@jhogberg jhogberg requested a review from bjorng January 2, 2023 15:34
@jhogberg jhogberg self-assigned this Jan 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2023

CT Test Results

       2 files     285 suites   11m 37s ⏱️
   750 tests    748 ✔️ 2 💤 0
4 654 runs  4 652 ✔️ 2 💤 0

Results for commit 07697d3.

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

@jhogberg jhogberg merged commit 08f322d into erlang:master Jan 3, 2023
bjorng added a commit to bjorng/otp that referenced this pull request Jan 30, 2023
josevalim pushed a commit to josevalim/otp that referenced this pull request Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[erlc] internal consistency check failed on bs_match

1 participant