Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partialexecuter: check for division/remainder by zero #212

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

Hyxogen
Copy link
Contributor

@Hyxogen Hyxogen commented Feb 13, 2024

@Hyxogen Hyxogen requested a review from alexp-sssup February 13, 2024 10:26
@@ -1727,6 +1727,32 @@ void PartialInterpreter::visitOuter(FunctionData& data, llvm::Instruction& I)
return;
}
}
if (const BinaryOperator* BO = dyn_cast<BinaryOperator>(&I))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a better place for this logic, there are instruction based checks somewhere else. Cannot check right now, but see for ifs over opcodes or instruction types

@Hyxogen Hyxogen requested a review from alexp-sssup February 13, 2024 11:50
@alexp-sssup alexp-sssup merged commit 4b9467d into master Feb 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants