# stage2: Add code generation for Load instruction in LLVM backend · gitcafe/zig

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

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

Visibility: public

Requested revision: 47a4d43e41b07b939b840fbf8230b89e27694093

Requested commit: 47a4d43e41b07b939b840fbf8230b89e27694093

Commit: 47a4d43e41b07b939b840fbf8230b89e27694093

Tree: 2699734285adc39084e664da773e997e672e422d

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

````
stage2: Add code generation for Load instruction in LLVM backend

The following now works:
```
export fn _start() noreturn {
    var x: bool = true;
    var y: bool = x;
    exit();
}

fn exit() noreturn {
    unreachable;
}
```

````

## Parents

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

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