- 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
15 lines
251 B
LLVM
15 lines
251 B
LLVM
; The only block falls off its end without a terminator.
|
|
; expect: reject E5002
|
|
; phase: 0
|
|
; spec: docs/spec/07-air.md
|
|
module test.missing_terminator
|
|
air 0
|
|
lang 0.1
|
|
features []
|
|
|
|
fn @f(%a: u64) -> u64
|
|
effects []
|
|
|
|
entry:
|
|
%0 = add.checked.u64 %a, %a
|