<< All versions
Skill v1.0.0
currentAutomated scan100/100alizainx/intelligence-systems-skills/dataflow-alias-loop-optimizations
──Details
PublishedNovember 4, 2026 at 11:20 PM
Content Hashsha256:66d2bcea947f2117...
Git SHA4446b059cc96
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 27 lines · 1.9 KB
name: dataflow-alias-loop-optimizations id: ISS-075 token_budget: 700 chain_with: [ssa-construction-dominance-frontier, polyhedral-autovectorization-passes, translation-validation-self-hosting] description: "Compiler optimization passes: SCCP (Sparse Conditional Constant Propagation), GVN, LICM, Inlining, Dead-Code Elimination, and Alias Analysis." metadata: version: "1.0.0"
dataflow-alias-loop-optimizations (ISS-075)
1. First-Principles Invariant
- Monotone Lattice Fixpoint Law: Formulate dataflow analyses (Constant Propagation, Range Analysis, Liveness) over a finite-height monotone semilattice $(L, \sqcap, \top, \bot)$ so Wegman-Zadeck Sparse Conditional Constant Propagation (
SCCP) converges in $O(E + V)$ worklist steps.
2. Fast-Pass Low-Token Protocol (Web & Coding Agents)
- Order canonical pass pipelines as
SimplifyCFG -> SROA/Mem2Reg -> Inlining -> InstCombine -> SCCP -> GVN -> LICM -> ADCEso each pass exposes canonical opportunities for the next.
3. Zero-Bug & Zero-Vulnerability Guards
- In Loop-Invariant Code Motion (
LICM), hoist a side-effect-free instruction out of a loop ONLY if it dominates all loop exits OR is guaranteed safe to speculate (never hoist potentially trapping integer divisionx / yor unvalidated pointer loads). - Respect strict memory alias barriers: a store
*p = vinvalidates cached loads*qunlessNoAlias(p, q)is proven by base-object provenance or type/offset disjointness. - Preserve IEEE 754 floating-point semantics: never fold
x - x -> 0.0,x * 0.0 -> 0.0, or reassociate(a + b) + cunless fast-math flags (nnan,nsz,reassoc) are explicitly present. - Bound inlining heuristics with call-site cost budgets and recursion cycle guards.
- Verify every optimization pass with Translation Validation (
Alive2-style SMT equivalence checking).
4. Verification Gate
gcc -std=c11 -O2 -Wall -Wextra -Werror -fsanitize=address,undefined