This commit is contained in:
Sofia 2026-04-13 20:06:34 +03:00
parent b541cf6baf
commit 2695a83ac8

View File

@ -30,7 +30,7 @@ namespace types {
definitions.push_back(BinopDefinition{ definitions.push_back(BinopDefinition{
ty, types::BinOp::LessThan, ty, ty, types::BinOp::LessThan, ty,
bool_ty, [](codegen::Builder& builder, llvm::Value* lhs, llvm::Value* rhs) { bool_ty, [](codegen::Builder& builder, llvm::Value* lhs, llvm::Value* rhs) {
return builder.builder->CreateICmpSLE(lhs, rhs, "icmpsle"); return builder.builder->CreateICmpSLT(lhs, rhs, "icmpslt");
} }); } });
definitions.push_back(BinopDefinition{ definitions.push_back(BinopDefinition{