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

[AutoDiff][test] Use true and false literals instead of 1 == 1 and 1 == 0 #77760

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kovdan01
Copy link
Contributor

After introducing BooleanLiteralFolding mandatory pass in c89df9e, true and false literals in some tests were changed to 1 == 1 and 1 == 0 with a comment that literals caused crash. At this point, using literals no longer causes crashes, so switch back to using true and false in such cases.

…`1 == 0`

After introducing BooleanLiteralFolding mandatory pass in
c89df9e, true and false literals in
some tests were changed to `1 == 1` and `1 == 0` with a comment that
literals caused crash. At this point, using literals no longer causes
crashes, so switch back to using true and false in such cases.
@kovdan01
Copy link
Contributor Author

Tagging @asl

@kovdan01 kovdan01 marked this pull request as ready for review November 21, 2024 08:40
@kovdan01 kovdan01 marked this pull request as draft November 21, 2024 09:31
@asl asl added the AutoDiff label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants