Lower extended multiplication to mul and OpenCL mul_hi #4153
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.29) × (1 − Review Confidence (0.50)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 80 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 70%
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.344
Diff Size
diff_size
0.263
Real PR Conversation Timeline
1 comments
"Review active on #4153"
general
weight: 0.35
maleadt
Translating
OpSMulExtendedandOpUMulExtendedto OpenCL C 1.2/2.0 form left calls to__spirv_SMulExtendedand__spirv_UMulExtended, which OpenCL runtimes like PoCL don't implement.Lower them to a wrapping
mulfor the low half and signed or unsignedmul_hifor the high half. SPIR-V friendly IR keeps the builtin calls.builtin_returns_struct.spvasmusedOpUMulExtendedto coverpostProcessBuiltinsReturningStructwithIsCpp=falsein OpenCL output. It now does so through SPIR-V friendly IR with OpenCL C source metadata. TheBuildNDRangetests still coversretin OpenCL output.Related: llvm/llvm-project#240296