You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MLIR Opt] Static memory lifetime scheduling and zero-runtime allocation #669
Implement static buffer lifetime scheduling and arena promotion for zero-runtime memory overhead.
Problem & Goal
Dynamic allocations (malloc, free) in computational graphs cause heap fragmentation and synchronization latency.
We want to construct interference graphs of buffer live ranges and allocate a single contiguous scratchpad shared across non-overlapping buffers.
PR #1314 adds a regression guard for invalid and unplaceable static-memory buffers. It returns a negative arena size instead of a partial plan. Local bootstrap fixed-point and three-generation self-host checks pass; GitHub required checks are running.
PR #1314 merged at 060f4b9. Invalid and unplaceable static-memory buffers now produce a rejected plan instead of a partial arena plan. Bootstrap fixed-point, three-generation self-host, and all required GitHub checks passed.
Closing as completed. The work for this issue landed in merged PR #1328. The later Jules PR #1389 was green but empty (no file changes) and has been closed as superseded.
Activity
godofecht commentedon Oct 2, 2026
Added PR #1216 with planner coverage for disjoint lifetime reuse and per-buffer alignment. Local Flow test passes all three static-memory checks.
godofecht commentedon Oct 3, 2026
PR #1299 merged at 9a803ff. Static memory planning now guards arena and alignment arithmetic overflow, clamps planner counts, and normalizes invalid alignments. Flow-native suites pass 5/5 and 12/12.
godofecht commentedon Oct 3, 2026
PR #1314 adds a regression guard for invalid and unplaceable static-memory buffers. It returns a negative arena size instead of a partial plan. Local bootstrap fixed-point and three-generation self-host checks pass; GitHub required checks are running.
godofecht commentedon Oct 3, 2026
PR #1314 merged at 060f4b9. Invalid and unplaceable static-memory buffers now produce a rejected plan instead of a partial arena plan. Bootstrap fixed-point, three-generation self-host, and all required GitHub checks passed.
godofecht commentedon Oct 6, 2026
Closing as completed. The work for this issue landed in merged PR #1328. The later Jules PR #1389 was green but empty (no file changes) and has been closed as superseded.
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks (#740)
feat: finish #740 profiler sites, promotion and MLIR hooks (#740)
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks
feat: finish #740 profiler sites, promotion and MLIR hooks