diff options
Diffstat (limited to 'src/ir/cost.h')
-rw-r--r-- | src/ir/cost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/cost.h b/src/ir/cost.h index 73d027788..efc50eb1b 100644 --- a/src/ir/cost.h +++ b/src/ir/cost.h @@ -263,7 +263,7 @@ struct CostAnalyzer : public OverriddenVisitor<CostAnalyzer, CostType> { case DivUInt32: case RemSInt32: case RemUInt32: - ret = curr->right->is<Const>() ? 2 : 3; + ret = curr->right->is<Const>() ? 5 : 6; break; case AndInt32: case OrInt32: @@ -284,7 +284,7 @@ struct CostAnalyzer : public OverriddenVisitor<CostAnalyzer, CostType> { case DivUInt64: case RemSInt64: case RemUInt64: - ret = curr->right->is<Const>() ? 3 : 4; + ret = curr->right->is<Const>() ? 7 : 8; break; case AndInt64: case OrInt64: |