More fixes for odd width primitive fixes #63408
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 170 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.308
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #63408"
general
weight: 0.35
adienes
While working on feedback by @topolarity on PR #62852, I realized that primitive types whose width is not a multiple of 8 still are afflicted by several bugs that do not depend on #62852, although that PR would make some of them easier to hit:
sext_intfilled them with the sign, andflipsign_intand out-of-rangefptoui/fptosikept them.===andhashignore those bits, but they reached memory and package images;===to 1 could shift by something else;shl_int(UInt8(1), UInt16(256))returned 1 (#63460);@enum,Core.check_top_bitandMultiplicativeInversestook the width from8 * sizeof, andCore.check_top_bitthrew on a type of fewer than 8 bits;replacefield!on a 1- or 2-byte primitive with padding bits failed spuriously, and asserted in debug builds.Each fix comes with a test that fails without it. PR #62852 is stacked on this one.
Fixes #63460
🤖 Generated with Claude Code