Repository navigation
refactor: remove MISRA overflow codegen, improve MLIR statics - #402
Merged
Merged
Conversation
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
godofecht
force-pushed
the
docs/readme-update
branch
from
August 10, 2026 16:01
2de2390 to
2ef2172
Compare
…MLIR statics Restore c_generator.py from main to preserve complex type, RF type, and lambda fat-pointer codegen. Then surgically remove only the MISRA overflow check features: - overflow_check parameter removed from CGenerator and flow_to_c - _overflow_checks_enabled() always returns False (dead code kept harmless) - __attribute__((unused)) removed from flow_strcat, i32_to_f32, gpu_thread_id - memref_ prefix removed from type unwrapping - safety_manifest.py and test_safety_manifest.py deleted - --emit-manifest / --manifest-format CLI flags removed from transpiler MLIR improvements (from user's working tree): - Large unsigned integer literals converted to two complement - CastExpression/UnaryOperation handling in module statics - String interning and static LLVM array global emission - Null pointer globals emit body with llvm.mlir.zero Test cleanup: - test_arith_safety.py: kept type-checker tests, removed codegen tests - test_misra_euler_batch.py: kept hashmap/bigint smoke tests, removed temp arena / recursion / max_iterations tests - test_misra_phase2.py: removed FLOW_DIAG and flight strcat tests - test_mlir_generator.py: updated null pointer global assertion - ci.yml: removed test_safety_manifest.py from safety test step All 1227 unit tests pass. This pull request includes code written with the assistance of AI. The code has not yet been reviewed by a human. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
godofecht
force-pushed
the
docs/readme-update
branch
from
August 10, 2026 17:29
2ef2172 to
98f479f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
All 1160 unit tests pass.
Areas requiring review
This pull request includes code written with the assistance of AI.
The code has not yet been reviewed by a human.
Generated with Devin