aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-07-16 23:06:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-20 12:19:16 -0700
commitd17f492017c77d5d52d2fbd65eaa5c1e08b24161 (patch)
tree4b5f2ecc801b19f546982a0bc159e2db979f90b2 /src/codegen/llvm.zig
parent2438f61f1c37aefa16852130370df44b3fabf785 (diff)
downloadzig-d17f492017c77d5d52d2fbd65eaa5c1e08b24161.tar.gz
zig-d17f492017c77d5d52d2fbd65eaa5c1e08b24161.zip
stage2: miscellaneous fixes for the branch
* Breaking language change: inline assembly must use string literal syntax. This is in preparation for inline assembly improvements that involve more integration with the Zig language. This means we cannot rely on text substitution. * Liveness: properly handle inline assembly and function calls with more than 3 operands. - More than 35 operands is not yet supported. This is a low priority to implement. - This required implementation in codegen.zig as well. * Liveness: fix bug causing incorrect tomb bits. * Sema: enable switch expressions that are evaluated at compile-time. - Runtime switch instructions still need to be reworked in this branch. There was a TODO left here (by me) with a suggestion to do some bigger changes as part of the AIR memory reworking. Now that time has come and I plan to honor the suggestion in a future commit before merging this branch. * AIR printing: fix missing ')' on alive instructions. We're back to "hello world" working for the x86_64 backend.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions