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

[NativeAOT-LLVM] Implement inlined thread statics for the single-threaded mode #2649

Open
SingleAccretion opened this issue Aug 9, 2024 · 0 comments
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)

Comments

@SingleAccretion
Copy link

Today we use the general (and slow) path for thread statics. We can do better since in principle thread statics should have the same cost as regular statics in threadless WASM.

Tasks:

  1. Implement "inlined" thread statics support in ILC targeting single-threaded WASM.
  2. Implement inlined access in the Jit.

Ideally, the Jit implementation should still produce threadness-agnostic bitcode as it does today, but that can be compromised on if needed.

@jkotas jkotas added the area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly) label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)
Projects
None yet
Development

No branches or pull requests

2 participants