Repository navigation
Conversation
#420: MLIR const binary folding already works. Added 8 regression tests covering subtraction, addition, multiplication, shifts, bitwise or, i64, large values, and zero-init prevention. #421: Inline exp() in nested while loops already works (fixed by #414 vectorization pragma fix. Added 4 regression tests. #423: Type checker now rejects taking the address of a pointer (ptr<T>). The expression &p where p is ptr<T> silently compiled to T**, causing runtime garbage. Strict mode emits a type error; lenient mode emits a warning. Added 4 tests. #422: C backend defaulted to -O0, overriding FLOW_CFLAGS. Now defaults to -O2, overridable via FLOW_OPT_LEVEL=0|1|2|3|s. Debug builds still use -O0. The flowc host link path also honors FLOW_OPT_LEVEL. All 1307 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> EOF )
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. |
…425) #424: Add grow_uninit, grow_zeroed, and alloc_uninit to lib/stdlib/memory.flow. grow_uninit is a plain realloc wrapper for callers who initialize every new element. grow_zeroed zeros only the new region. alloc_uninit allocates exact size without a minimum capacity floor. #425: Arena and FrameArena already exist in the stdlib with arena_alloc, arena_reset, arena_destroy, frame_begin, frame_alloc, and frame_end. Added 12 regression tests verifying the API surface and pointer-bump semantics. All 18 new 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>
This was referenced Aug 11, 2026
Taking the address of a pointer (ptr<T>) is valid when the callee expects a pointer-to-pointer (e.g. output parameters like flow_audio_open(&config, &dev_ptr)). The type checker now warns instead of erroring, so strict mode no longer breaks audio examples. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This was referenced Aug 11, 2026
Closed
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
Changes
Test plan
Closes #420, #421, #422, #423, #424, #425.
This pull request includes code written with the assistance of AI.
The code has not yet been reviewed by a human.
Generated with Devin