Skip to content

Reject split factors not representable as int32 (#9143)#9144

Open
abadams wants to merge 1 commit into
mainfrom
abadams/fix_9143
Open

Reject split factors not representable as int32 (#9143)#9144
abadams wants to merge 1 commit into
mainfrom
abadams/fix_9143

Conversation

@abadams
Copy link
Copy Markdown
Member

@abadams abadams commented May 16, 2026

Previously a uint32 split factor was silently accepted and crashed the simplifier during lowering. Validate the factor's type at split() time using the same pattern as Func::bound, so unsupported types are rejected up front with a clear error.

Fixes #9143

Previously a uint32 split factor was silently accepted and crashed the
simplifier during lowering. Validate the factor's type at split() time
using the same pattern as Func::bound, so unsupported types are rejected
up front with a clear error.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@a56dea6). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/Func.cpp 60.00% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9144   +/-   ##
=======================================
  Coverage        ?   69.86%           
=======================================
  Files           ?      255           
  Lines           ?    77533           
  Branches        ?    18536           
=======================================
  Hits            ?    54169           
  Misses          ?    17939           
  Partials        ?     5425           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uint32 as a split factor produces an internal compiler error

3 participants