Fix compiler issue when passing launch bounds in a variable #7
All Vouch review confidence checks passed
Residual risk 0.06 = Change Risk (0.30) × (1 − Review Confidence (0.81)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 69 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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.254
Real PR Conversation Timeline
4 items
The new early-return changes behavior for negative constant clause values: previously a negative constant (e.g., -1) would be converted to the "unknown" sentinel (0) via the result < 0 check, but now it returns early and leaves result negative, which is later treated as "unset". Since extractConstInteger() can return negative values, consider preserving the previous handling for negative constants while still returning early for non-negative constants.
Pull request overview
This PR fixes an OpenMP-to-LLVM IR translation issue where non-constant launch-bound clause values (e.g., variable thread_limit / num_threads) could incorrectly leave a per-dimension sentinel value of 1, unintentionally clamping GPU kernel launch bounds to a single thread.
Changes:
setMaxValueFromClause treat any applicable non-constant clause value as “unknown” (0) even when the initial sentinel is 1.
Approved
LGTM
skc7
mjklemm
No description provided by author.