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

Ensure br is only called with i1 #45

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

iangneal
Copy link

Automatically convert int values to i1 (via "not equal to 0" comparison) so that br instructions only use i1 for the branch condition (which is what is causing the module to fail to verify).

Copy link

@kferles kferles left a comment

Choose a reason for hiding this comment

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

LGTM

@iangneal iangneal merged commit ca4f00c into llvm Aug 16, 2023
3 checks passed
@iangneal iangneal deleted the iangneal/VAN-544-LLVM-Module-verification-failed branch August 16, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants