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

Ignore sign difference between two NaNs #1155

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dtcxzyw
Copy link
Contributor

@dtcxzyw dtcxzyw commented Jan 4, 2025

As we discussed in #1037, we don't care about the sign of NaN values. This patch only checks the NaN payload when both values are NaNs.

Here is a false positive case: https://alive2.llvm.org/ce/z/iSh4-Z
Related PR: llvm/llvm-project#121580

@dtcxzyw dtcxzyw marked this pull request as draft January 5, 2025 07:27
@dtcxzyw
Copy link
Contributor Author

dtcxzyw commented Jan 5, 2025

I don't know how to fix the test failure in tests/alive-tv/bugs/pr45152.srctgt.ll :(

@dtcxzyw dtcxzyw marked this pull request as ready for review January 5, 2025 13:23
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.

1 participant