llvm-context: bugfix PHI values in SAR builtin translation (#345)

Closes #344

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
xermicus
2025-06-14 15:12:03 +02:00
committed by GitHub
parent 63f0266fff
commit 8754d802fa
4 changed files with 63 additions and 1 deletions
@@ -204,7 +204,7 @@ where
&context.word_type().const_all_ones(),
overflow_negative_block,
),
(&context.word_const(0), overflow_block),
(&context.word_const(0), overflow_positive_block),
]);
Ok(result.as_basic_value())
}