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 authored and GitHub committed 2025-06-14 15:12:03 +02:00
1 parent 63f0266fff
commit 8754d802fa
4 files changed
+63 -1

No files matched your search

@@ -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())
}