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

Use LLVM isnan intrinsic to implement SLEIGH's FLOAT_NAN #587

Open
tetsuo-cpp opened this issue Apr 4, 2022 · 0 comments
Open

Use LLVM isnan intrinsic to implement SLEIGH's FLOAT_NAN #587

tetsuo-cpp opened this issue Apr 4, 2022 · 0 comments

Comments

@tetsuo-cpp
Copy link
Contributor

As of #585, we're implementing FLOAT_NAN with our own code that checks the float against itself with an ordered float comparison.

LLVM is considering an isnan intrinsic that would be helpful for us. It got merged and then subsequently reverted in llvm/llvm-project@3f1f08f but it'd be good to keep an eye on this and see whether it makes its way into LLVM 15.

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

No branches or pull requests

1 participant