Implement basic if statement rendering in LLVM IR

- Add _emit_if() method to handle if statements
- Add _emit_expr() to evaluate signal references and constants
- Create basic blocks for then/else/merge
- Convert condition to i1 and branch
- Test passing: test_if_statement_codegen
This commit is contained in:
Aaron Sinclair committed 2025-11-15 03:28:44 -08:00
1 parent a3cd1df40a
commit 044eda2293
3 files changed
+61

No files matched your search