Fix LT
This commit is contained in:
parent
b541cf6baf
commit
2695a83ac8
@ -30,7 +30,7 @@ namespace types {
|
||||
definitions.push_back(BinopDefinition{
|
||||
ty, types::BinOp::LessThan, ty,
|
||||
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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user