From 4a5392d85d21c1fd020a7c45555ef77980b78b7e Mon Sep 17 00:00:00 2001 From: rihi <19492038+rihi@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:17:50 +0200 Subject: [PATCH] Fix test_stage.py --- .../controlflowanalysis/expression_simplification/test_stage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pipeline/controlflowanalysis/expression_simplification/test_stage.py b/tests/pipeline/controlflowanalysis/expression_simplification/test_stage.py index 6226e8936..765015500 100644 --- a/tests/pipeline/controlflowanalysis/expression_simplification/test_stage.py +++ b/tests/pipeline/controlflowanalysis/expression_simplification/test_stage.py @@ -59,7 +59,7 @@ def _v_i32(name: str) -> Variable: Assignment(_v_i32("a"), _c_i32(5)) ), ( - [SubToAdd(), CollapseNestedConstants(), SimplifyTrivialArithmetic()], + [SubToAdd(), CollapseNestedConstants(), SimplifyTrivialArithmetic(), CollapseConstants()], Assignment(_v_i32("a"), _sub(_add(_v_i32("a"), _c_i32(5)), _c_i32(5))), Assignment(_v_i32("a"), _v_i32("a")) ),