Skip to content

Commit 82911b3

Browse files
committed
Auto merge of #67759 - nikic:llvm-10, r=Mark-Simulacrum
Update to LLVM 10 LLVM 10 is going to be branched soon, so it's a good time to start finding all those tasty new miscompiles and performance regressions ;) Status: * Preparation split off into #67900. * Optimization regressions: * [x] https://bugs.llvm.org/show_bug.cgi?id=44419 => https://reviews.llvm.org/D72048 has landed. * [x] https://bugs.llvm.org/show_bug.cgi?id=44423 => https://reviews.llvm.org/D72060 has landed. * [x] https://reviews.llvm.org/D72169 submitted. * [ ] https://bugs.llvm.org/show_bug.cgi?id=44461 reported. https://reviews.llvm.org/D72420 submitted, but unlikely eligible for LLVM 10. * Compile-time regressions: * [x] GlobalOpt regression identified. ~~fhahn proposed https://reviews.llvm.org/D72214.~~ fhahn has [reverted](llvm/llvm-project@192cce1) the patch. * [ ] Even with the revert, there are [large regressions](https://perf.rust-lang.org/compare.html?start=760ce94c69ca510d44087291c311296f6d9ccdf5&end=4e84f97d76e694bb9f59039f5bdeb6d8bca46d14). * Assertion failures / infinite loops: * [x] https://bugs.llvm.org/show_bug.cgi?id=44600 => https://reviews.llvm.org/D73135, https://reviews.llvm.org/D73854 and https://reviews.llvm.org/D73908 have landed and been cherry-picked to the 10.x branch. * [x] https://bugs.llvm.org/show_bug.cgi?id=44835 => https://reviews.llvm.org/D74278 has landed and been cherry-picked.
2 parents 0aa6751 + b2bf0cd commit 82911b3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
[submodule "src/llvm-project"]
3838
path = src/llvm-project
3939
url = https://github.com/rust-lang/llvm-project.git
40-
branch = rustc/9.0-2019-12-19
40+
branch = rustc/10.0-2020-05-05
4141
[submodule "src/doc/embedded-book"]
4242
path = src/doc/embedded-book
4343
url = https://github.com/rust-embedded/book.git

src/bootstrap/native.rs

+4
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,10 @@ impl Step for Lld {
520520
.define("LLVM_TABLEGEN_EXE", llvm_config.with_file_name("llvm-tblgen"));
521521
}
522522

523+
// Explicitly set C++ standard, because upstream doesn't do so
524+
// for standalone builds.
525+
cfg.define("CMAKE_CXX_STANDARD", "14");
526+
523527
cfg.build();
524528

525529
t!(File::create(&done_stamp));

src/llvm-project

Submodule llvm-project updated 27837 files

0 commit comments

Comments
 (0)