Skip to content

Commit

Permalink
Merge pull request #18 from Mewz-project/fix_fcmp
Browse files Browse the repository at this point in the history
fix float cmp
  • Loading branch information
ainozaki authored Jan 27, 2024
2 parents 573620d + f73e7e6 commit 5ac8e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/section.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ fn parse_code_section(f: FunctionBody, environment: &mut Environment<'_, '_>) ->
}
Operator::F32Ne | Operator::F64Ne => {
numeric::helper_code_gen_comparison_float(
inkwell::FloatPredicate::ONE,
inkwell::FloatPredicate::UNE,
environment,
)
.expect("error gen compare float");
Expand Down

0 comments on commit 5ac8e37

Please sign in to comment.