You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace left shift of potentially negative value with multiplication to
avoid undefined behavior detected by UBSan.
In update_branch_imm(), the immediate value (imm) is right-shifted by 2
and can be negative. The diagnostic logging attempted to restore the
original value using left shift (imm << 2), which is undefined behavior
when imm is negative.
0 commit comments