-
Notifications
You must be signed in to change notification settings - Fork 275
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
Wasm Relaxed SIMD intrinsics need new names for LLVM 16 #1396
Comments
There's no cfg currently passed for LLVM version, although I think we've been through something similar before which we solved using a new |
This is an LLVM bug: Missing autoupgrade for the intrinsic renames. For reference, the buggy patch was https://reviews.llvm.org/D138249. |
|
Ok sounds like I'll wait for the LLVM 16 update to re-land and then I can send a PR with the above changes |
Upstream fix: https://reviews.llvm.org/D146424 |
As pointed out here and discovered here the relaxed simd intrinsics for wasm added in #1393 don't compile with LLVM 16 due to the intrinsics in LLVM being renamed. The patch needed to get the test suite working again is:
but @Amanieu I wanted to ask, is there a means by which nowadays the intrinsics can have conditional definitions based on the LLVM version used? It looks like the current Rust nightly reverted back to LLVM 15 so this patch can't land on the main branch right now. I'd be happy to adjust with
#[cfg_attr]
, though, if there's selectors for the LLVM version.The text was updated successfully, but these errors were encountered: