VarAction2: Set variable for ABS op to avoid unused read from var 0

This commit is contained in:
Jonathan G Rennison 2022-08-01 18:27:21 +01:00
parent f52e6cb8f2
commit 0bddf96f7f

View File

@ -6330,6 +6330,7 @@ static bool TryMergeBoolMulCombineVarAction2Adjust(VarAction2OptimiseState &stat
auto append_abs = [&]() {
adjusts.emplace_back();
adjusts.back().operation = DSGA_OP_ABS;
adjusts.back().variable = 0x1A;
state.inference |= VA2AIF_SIGNED_NON_NEGATIVE;
};