Skip to content

[NFC] Update flags for portability #359

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

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

Conversation

llvm-beanz
Copy link
Collaborator

This updates all the tests that rely on nan-preservation to pass -Gis which ensures NaN preservation. Any of the tests that are touched in this PR which also test literal values which could be constant evaluated also should use -HV 202x to have consistent literal types, so that change is also made to a few test cases.

Fixes #348

This updates all the tests that rely on nan-preservation to pass `-Gis`
which ensures NaN preservation. Any of the tests that are touched in
this PR which also test literal values which could be constant evaluated
also should use `-HV 202x` to have consistent literal types, so that
change is also made to a few test cases.

Fixes llvm#348
Copy link
Collaborator

@spall spall left a comment

Choose a reason for hiding this comment

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

lgtm

I removed the denorm cases from the sinh test (denorms are wildly
varried in how they are handled and I don't think we can assume sane
handling across platforms). I also reverted my changes to the frac tests
since for some reason that's causing problems.
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.

Apply -Gis to all tests covering NaN values
2 participants