-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Rust requires llvm.assume intrinsic and hence LLVM 3.6 #20010
Comments
FYI, minimal LLVM version was last updated in #5813. The reason was to support inline assembly. |
Just as a note, current rust also fails to build against latest (external) stable LLVM 3.5.1 due to a newer EngineBuilder() signature picked-up by rustllvm/ExecutionEngineWrapper.cpp. |
Some discussion on this at http://discuss.rust-lang.org/t/targeted-llvm-for-1-0/1371/1. I may give a shot at this if I have some time. |
Can this be closed now that LLVM 3.5.2 is out? |
rustc needs at least LLVM 3.6 rc4 (afaik). This issue is regarding the LLVM version check in ./configure, which is still 3.[2-6] (and the error message says "bad LLVM version: ... need >=3.0svn". I believe the ./configure test should be tightened to >=3.6 |
Closes rust-lang#20010.
configure check was updated to >=3.5 in #23362 and it is still the case today. Rust successfully bootstraps against LLVM 3.5.2 release now. |
The rust ./configure LLVM version check is only for 3.[2-6], yet #18080 adds a requirement on llvm.assume intrinsic. This intrinsic only appears in LLVM 3.6.
I think the version check needs to be updated accordingly - or only use the new optimisation intrinsic conditionally on building against newer LLVM.
The text was updated successfully, but these errors were encountered: