diff options
| author | Daniele Cocca <daniele.cocca@gmail.com> | 2022-03-20 21:04:28 +0000 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-03-30 12:10:02 +0300 |
| commit | 907dc1e13f657f349dbdecf739b2f1a13ad7011a (patch) | |
| tree | 0026ce30fe407ce78c5e7b68a733b4c1f91b8a4a /src/AstGen.zig | |
| parent | ebafdb958c1aa6b41c28fc7d45f44e38a69a3bd5 (diff) | |
| download | zig-907dc1e13f657f349dbdecf739b2f1a13ad7011a.tar.gz zig-907dc1e13f657f349dbdecf739b2f1a13ad7011a.zip | |
CBE: improve support for asm inputs
This is not complete support for asm expressions, but allows a few more
test cases from test/behavior/asm.zig to pass. Since the non-register
inputs are named `input_${n}` they can cause name collisions: I'm
wrapping the asm expressions in their own block to prevent that.
Contextually, this change also makes test/behavior/asm.zig run for
stage2, but skips individual tests for most backends (I only verified
the C and LLVM backends successfully run one new test case) and the
entire test file for aarch64, where it's running into preexisting
shortcomings.
Diffstat (limited to 'src/AstGen.zig')
0 files changed, 0 insertions, 0 deletions
