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 jubianchi force-pushed the configure-canonicalization branch from 34425fd to b8e7f25 Compare March 3, 2021 13:28
@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 jubianchi force-pushed the configure-canonicalization branch from b8e7f25 to 43dbb18 Compare March 3, 2021 15:53
@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 jubianchi force-pushed the configure-canonicalization branch from 9eed143 to e3a3f79 Compare April 30, 2021 21:58
@jubianchi
Copy link
Contributor Author

bors try

@bors
Copy link
Contributor

bors bot commented Apr 30, 2021

try

Merge conflict.

@jubianchi jubianchi force-pushed the configure-canonicalization branch from e3a3f79 to 7148402 Compare April 30, 2021 22:27
@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!

@jubianchi jubianchi force-pushed the configure-canonicalization branch from 113d438 to abebb6a Compare May 10, 2021 19:04
@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 force-pushed the configure-canonicalization branch from 0fe7e37 to fc4e925 Compare May 18, 2021 09:55
@jubianchi jubianchi changed the title Make NaN canonicalization a configurable behavior feat(llvm): Make NaN canonicalization configurable May 18, 2021
@jubianchi jubianchi force-pushed the configure-canonicalization branch from fc4e925 to 13c520b Compare May 18, 2021 09:56
jubianchi added 2 commits May 28, 2021 11:40
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
@jubianchi jubianchi force-pushed the configure-canonicalization branch from 13c520b to 69cf276 Compare May 28, 2021 16:15
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
@jubianchi jubianchi force-pushed the configure-canonicalization branch from 2836099 to 0b119a7 Compare May 31, 2021 10:26
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