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

Backport "Emit aliases for FP16 conversion routines" (#45649) to 1.8 #46110

Merged
merged 3 commits into from
Aug 2, 2022

Conversation

vchuravy
Copy link
Member

  • Prefix Float16 intrinsics
  • Define aliases to FP16 crt in the OJIT
  • Emit aliases into the system image

@KristofferC
Copy link
Member

Seems to fail to build on windows (freebsd error is something different).

vtjnash and others added 3 commits August 1, 2022 17:21
(cherry picked from commit f651866)
- Put the interposer in llvm.compiler.used.
- Injecting the aliases after optimization:
  Our multiversioning pass interacts badly with the llvm.compiler.used gvar.
- run `postopt` passes independent of optimization passes.

(cherry picked from commit 3407fb3)

Co-authored-by: Tim Besard <[email protected]>
Co-authored-by: Valentin Churavy <[email protected]>
@vchuravy vchuravy added this to the 1.8 milestone Aug 1, 2022
@IanButterworth
Copy link
Member

RTM?

@vchuravy vchuravy merged commit 4983135 into backports-release-1.8 Aug 2, 2022
@vchuravy vchuravy deleted the vc/fp16_bb branch August 2, 2022 13:47
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.

4 participants