intrinsics: Support SIMD vectors in elementwise intrinsics #63347
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.68) × (1 − Review Confidence (0.74)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 816 lines diff across 10 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.66 · 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.400
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
2 items
Out of curiosity: Do you have an example where vectorization fails?
matthias314
oscardssmith
successor to https://github.com/JuliaLang/julia/pull/55118 (now with claude)
Many intrinsics (arithmetic, bitwise, shifts, comparisons, conversions and
bitcast) now accept SIMD vectors, i.e.NTuple{N,VecElement{T}}for primitiveTthat LLVM can do as<N x T>. They act lane-wise and compile to LLVM vector instructions, so SIMD code no longer needsllvmcallfor these operations. Comparisons return aNTuple{N,VecElement{Bool}}, andbitcastonly requires the total bit size to match. Checked intrinsics aren't supported.Codegen lowers these directly to LLVM. Runtime applies the scalar implementation to each lane, and inference models the new result types and nothrow conditions so vector operations can be folded and removed when unused.
Random's XoshiroSimd now uses these intrinsics instead of
llvmcall; the generated random stream is unchanged.Assisted-by: Claude Code (Opus 5.5)