# CBE: improve support for asm inputs · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/907dc1e13f657f349dbdecf739b2f1a13ad7011a)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 907dc1e13f657f349dbdecf739b2f1a13ad7011a

Requested commit: 907dc1e13f657f349dbdecf739b2f1a13ad7011a

Commit: 907dc1e13f657f349dbdecf739b2f1a13ad7011a

Tree: 0026ce30fe407ce78c5e7b68a733b4c1f91b8a4a

Author: Daniele Cocca

Committer: Veikka Tuominen

## Message

```
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.

```

## Parents

- [ebafdb958c1aa6b41c28fc7d45f44e38a69a3bd5](https://git.cafe/gitcafe/zig/commit/ebafdb958c1aa6b41c28fc7d45f44e38a69a3bd5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/907dc1e13f657f349dbdecf739b2f1a13ad7011a?format=markdown)
