feat(gmir): select `g_load` #2036
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.30) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 93 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.272
Real PR Conversation Timeline
1 comments
"Review active on #2036"
general
weight: 0.35
regehr
This translates naturally aligned loads of
i8,i16,i32,i64and pointers tog_load.The legalizer widens the result to
s64and keeps the memory size. Intruction selection therefore pickslbu,lh,lworld, as before.A widened
g_loadis an any-extending load. Its high bits are now unspecified in the CTree interpreter, as forg_anyext.Before, they were zero, so
lhandlwwere not refinements of it.gmir_load_refinementnow proves that they are.Misaligned and odd-sized loads stay in the LLVM dialect for now. Splitting them in the legalizer needs
g_zextloadandg_ptr_add.All loads in our benchmarks now go through gMIR, which removes some
zext.w(fromunrealized_conversion_casts).Assisted by AI