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

feat(llvm): Make NaN canonicalization configurable #2161

Merged
merged 6 commits into from
May 31, 2021

Conversation

jubianchi
Copy link
Contributor

@jubianchi jubianchi commented Mar 3, 2021

compiler-llvm now uses the experimental.constrained intrinsics to ensure
correct behavior on FP operations when full-canonicalization is
disabled.

This patch requires TheDan64/inkwell#247

Review

  • Add a short description of the the change to the CHANGELOG.md file

@jubianchi
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Mar 3, 2021
@bors
Copy link
Contributor

bors bot commented Mar 3, 2021

try

Build failed:

@jubianchi
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Mar 3, 2021
@bors
Copy link
Contributor

bors bot commented Mar 3, 2021

try

Build failed:

@jubianchi
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Mar 3, 2021
@bors
Copy link
Contributor

bors bot commented Mar 3, 2021

tests/ignores.txt Outdated Show resolved Hide resolved
@jubianchi
Copy link
Contributor Author

bors try

@bors
Copy link
Contributor

bors bot commented Apr 30, 2021

try

Merge conflict.

@jubianchi
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Apr 30, 2021
lib/c-api/build.rs Outdated Show resolved Hide resolved
lib/compiler-cranelift/src/config.rs Show resolved Hide resolved
@jubianchi jubianchi force-pushed the configure-canonicalization branch 3 times, most recently from 22bf49b to c55ff44 Compare May 5, 2021 16:36
tests/compilers/wast.rs Outdated Show resolved Hide resolved
@jubianchi jubianchi force-pushed the configure-canonicalization branch from c55ff44 to 113d438 Compare May 6, 2021 20:23
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

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

Everything looks good for merging!

@syrusakbary
Copy link
Member

bors try

bors bot added a commit that referenced this pull request May 15, 2021
@bors
Copy link
Contributor

bors bot commented May 15, 2021

try

Build failed:

@jubianchi jubianchi changed the title Make NaN canonicalization a configurable behavior feat(llvm): Make NaN canonicalization configurable May 18, 2021
compiler-llvm now uses the experimental.constrained intrinsics to ensure
correct behavior on FP operations when full-canonicalization is
disabled.

This patch requires TheDan64/inkwell#247
lib/compiler-llvm/src/abi/aarch64_systemv.rs Outdated Show resolved Hide resolved
lib/compiler-llvm/src/translator/code.rs Outdated Show resolved Hide resolved
lib/compiler-llvm/src/translator/code.rs Show resolved Hide resolved
lib/compiler-llvm/src/translator/intrinsics.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

Good work!

@jubianchi
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented May 31, 2021

@bors bors bot merged commit c0d3a8f into master May 31, 2021
@bors bors bot deleted the configure-canonicalization branch May 31, 2021 14:32
@Hywan Hywan mentioned this pull request Jul 19, 2021
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.

5 participants