Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Nov 12, 2024
1 parent 3c1f05a commit e7d31c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/compiler/venom/test_branch_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def test_simple_jump_case():
fn.append_basic_block(br2)

p1 = bb.append_instruction("param")
p2 = bb.append_instruction("param")
op1 = bb.append_instruction("store", p1)
op2 = bb.append_instruction("store", 64)
op3 = bb.append_instruction("add", op1, op2)
Expand All @@ -24,7 +25,7 @@ def test_simple_jump_case():

br1.append_instruction("add", op3, p1)
br1.append_instruction("stop")
br2.append_instruction("add", op3, 10)
br2.append_instruction("add", op3, p2)
br2.append_instruction("stop")

term_inst = bb.instructions[-1]
Expand Down

0 comments on commit e7d31c5

Please sign in to comment.