Files
aji/tests/conformance/phase0/accept/sum.air
T
dev 50bf990355 verifier: resource limits, CFG, SSA dominance and types (P0-7..P0-10)
- verifier.zig: staged pipeline per spec 07 §8.6, deterministic order
- budget.zig: fixed limits from spec 08 §7 (E5101)
- cfg.zig: terminators, branch arity, switch/enum.switch shape (E5002)
- ssa.zig: Cooper-Harvey-Kennedy dominators, use dominance (E5001)
- types.zig: operand/result types, casts, calls, returns, recursive
  aggregates (E1001, E1002, E1003)
- check.zig runs parse -> verify; seed conformance tests get module
  headers; tests for unimplemented phases report PENDING
2026-10-04 12:24:41 +03:00

16 lines
233 B
LLVM

; Checked addition of two parameters.
; expect: accept
; phase: 0
; spec: docs/spec/07-air.md
module test.sum
air 0
lang 0.1
features []
fn @sum(%a: u64, %b: u64) -> u64
effects []
entry:
%0 = add.checked.u64 %a, %b
ret %0