Created
December 19, 2023 21:36
-
-
Save sampsyo/681f9b5d5dfe5b5c0bf1cca51fa55a5a to your computer and use it in GitHub Desktop.
unreduced test case for Bril bug #295
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@main(b0: bool, b1: bool) { | |
jmp .start; | |
.end: | |
print x_0_2; | |
print x_1_2; | |
ret; | |
.l_1_3: | |
jmp .end; | |
.l_1_2: | |
x_1_2 : int = const 0; | |
jmp .l_1_3; | |
.l_1_1: | |
x_1_1 : int = const 1; | |
jmp .l_1_3; | |
.l_0_3: | |
br b1 .l_1_1 .l_1_2; | |
.l_0_2: | |
x_0_2 : int = const 2; | |
jmp .l_0_3; | |
.l_0_1: | |
x_0_1 : int = const 3; | |
jmp .l_0_3; | |
.start: | |
br b0 .l_0_1 .l_0_2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment