aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-03-22 17:12:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-03-22 17:29:56 -0700
commit2f391df2a7ea7cc6e7500da214100fb49ea8f661 (patch)
tree3f8a6f32559b15d1a6388e874489dfd7a1e91efb /src/codegen/llvm.zig
parent9f0b9b8da1a111d16eb8d1254212ff98a8b4be08 (diff)
downloadzig-2f391df2a7ea7cc6e7500da214100fb49ea8f661.tar.gz
zig-2f391df2a7ea7cc6e7500da214100fb49ea8f661.zip
stage2: Sema improvements and boolean logic astgen
* add `Module.setBlockBody` and related functions * redo astgen for `and` and `or` to use fewer ZIR instructions and require less processing for comptime known values * Sema: rework `analyzeBody` function. See the new doc comments in this commit. Divides ZIR instructions up into 3 categories: - always noreturn - never noreturn - sometimes noreturn
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions