about summary refs log tree commit diff
path: root/src/llvm-project
AgeCommit message (Collapse)AuthorLines
2021-08-16Update to LLVM 13Nikita Popov-0/+0
2021-07-29Bump LLVM for RegAllocFast bugfixAaron Hill-0/+0
Fixes #83854
2021-07-12Update to LLVM 12.0.1Nikita Popov-0/+0
2021-05-23Update LLVM submoduleAlessandro Decina-0/+0
2021-05-12Update LLVM submoduleNikita Popov-0/+0
2021-05-08Update LLVM submoduleNikita Popov-0/+0
This updates the LLVM submodule with recent LLVM 12.x fixes. In particular, it resolves an assertion failure when targeting AArch64 at O0.
2021-04-30Update LLVM for more wasm simd updatesAlex Crichton-0/+0
This fixes the temporary regression introduced in #84339 where the wasm target uses `fpto{s,u}i` intrinsics but the codegen for those intrinsics with the `+nontrapping-fptoint` LLVM feature wasn't very good (aka it didn't use the wasm instruction). The fixes brought in here fix that and also implement the second-to-last simd instruction in LLVM.
2021-04-21Update LLVM submoduleAmanieu d'Antras-0/+0
Fixes #83467
2021-04-17Include a backport for wrong DWARF informationSimonas Kazlauskas-0/+0
A partial fix for #83139
2021-04-15Update to LLVM 12.0.0 finalJosh Stone-0/+0
2021-04-10Update LLVM submoduleAmanieu d'Antras-0/+0
2021-04-05Update LLVM to support more wasm simd opsAlex Crichton-0/+0
Adds a commit with support for i64 simd comparisons for the wasm target
2021-03-31Update LLVM with another wasm simd fixAlex Crichton-0/+0
Just a small bug fix for opcode numberings, not too major.
2021-03-18Update LLVM to bring in SIMD updates for WebAssemblyAlex Crichton-0/+0
This is a continuation of https://github.com/rust-lang/llvm-project/pull/96 to continue to make progress on updating Rust's support for SIMD intrinsics on WebAssembly to the latest version of the specification.
2021-03-11Update llvm-project submoduleNikita Popov-0/+0
2021-03-11Enable MemorySSA-based MemCpyOptNikita Popov-0/+0
This updates the LLVM submodule to pick up a backported patch to enable MemorySSA-based MemCpyOpt, which is capable of optimizing away memcpy's across basic blocks.
2021-03-05Backport some LLVM compile-time improvementsNikita Popov-0/+0
This backports two compile-time improvements from the LLVM 13 branch, which reduce the number of alias analysis queries.
2021-03-01Update submodule to LLVM 12Nikita Popov-0/+0
2021-02-27Revert LLVM D81803 because it broke Windows 7Josh Stone-0/+0
This submodule update reverts <https://reviews.llvm.org/D81803>. While that change is meant to fix a real bug, [LLVM PR42623], it caused new permission errors on Windows 7 that make it unable to build any archives. This is probably the same root cause as [LLVM PR48378]. Fixes #81051. We'll file a new Rust issue to track the LLVM resolution. [LLVM PR42623]: https://bugs.llvm.org/show_bug.cgi?id=42623 [LLVM PR48378]: https://bugs.llvm.org/show_bug.cgi?id=48378
2021-02-20Update LLVM to pull in fixes to llvm-dwpSimonas Kazlauskas-0/+0
Includes https://github.com/rust-lang/llvm-project/pull/90 in particular.
2021-01-27Bump LLVM submoduleAmanieu d'Antras-0/+0
2021-01-07Update to LLVM 11.0.1Josh Stone-0/+0
2020-12-30Update LLVMTyler Mandry-0/+0
- [GlobalISel][IRTranslator] Fix a crash when the use of an extractvalue is a non-dominated metadata use. - [asan] Use dynamic shadow memory position on Apple Silicon macOS
2020-12-09Update LLVM submoduleTomasz Miąsko-0/+0
2020-11-18update llvm submoduleGus Caplan-0/+0
2020-10-22Bump LLVM for DeadArgElim fixAaron Hill-0/+0
Fixes #76387 Pulls in https://github.com/rust-lang/llvm-project/pull/82
2020-10-17Update LLVM for LLD COFF TLS alignment fix.Luqman Aden-0/+0
2020-10-15llvm: backport SystemZ fix for AGR clobbersJosh Stone-0/+0
2020-10-14Rebase LLVM onto 11.0.0 finalJosh Stone-0/+0
2020-10-08Update submodule llvm to get LVI bugfixRaoul Strackx-0/+0
2020-10-02Fix AVR stack corruption bugAndrew Dona-Couch-0/+0
Updates the Rust LLVM fork to pull in a fix for a stack corruption bug in AVR platform interrupt code lowering. Fixes #75504
2020-09-30Add support for cmse_nonsecure_entry attributeHugues de Valon-0/+0
This patch adds support for the LLVM cmse_nonsecure_entry attribute. This is a target-dependent attribute that only has sense for the thumbv8m Rust targets. You can find more information about this attribute here: https://developer.arm.com/documentation/ecm0359818/latest/ Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-09-22Rebase LLVM onto 11.0.0-rc3Josh Stone-0/+0
2020-09-16Update LLVMJethro Beekman-0/+0
2020-09-05Update llvm-project to include PR 73Rich Kadel-0/+0
https://github.com/rust-lang/llvm-project/pull/73
2020-09-05Update llvm submoduleMateusz Mikuła-0/+0
2020-08-22Upgrade to LLVM 11 (rc2)Josh Stone-0/+0
2020-07-12Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit which ↵Adrian Cruceru-0/+0
includes LVI segfault fix
2020-07-08Fix cross-compilation of LLVM to aarch64 Windows targetsArlo Siemsen-0/+0
When cross-compiling, the LLVM build system recurses to build tools that need to run on the host system. However, since we pass cmake defines to set the compiler and target, LLVM still compiles these tools for the target system, rather than the host. The tools then fail to execute during the LLVM build. This change sets defines for the tools that need to run on the host (llvm-nm, llvm-tablegen, and llvm-config), so that the LLVM build does not attempt to build them, and instead relies on the tools already built. If compiling with clang-cl, this change also adds the `--target` option to specify the target triple. MSVC compilers do not require this, since there is a separate compiler binary for cross-compilation.
2020-06-24[AVR] Update the rust-lang/llvm-project submodule to include AVR fixes ↵Dylan McKay-0/+0
recently merged This commit updates rustc's LLVM submodule to include new AVR-specific fixes recently merged on the Rust LLVM 'rustc/10.0-2020-05-05' branch. All of these cherry-picked commits exist in upstream LLVM and were cherry-picked into Rust's LLVM fork in commit 6c040dd86ed. |- 6c040dd86ed Merge pull request #66 from dylanmckay/avr-pick-upstream-llvm-fixes |- 12dfdd3aed7 [AVR] Rewrite the function calling convention. |- 118ac53f12b [AVR] Don't adjust for instruction size |- bc27c282e13 [AVR] Fix miscompilation of zext + add |- cfbe205a7e8 [AVR] Remove faulty stack pushing behavior |- 143e1469e96 [AVR] Fix stack size in functions with a frame pointer |- 6b2445d841e [LLVM][AVR] Support for R_AVR_6 fixup |- 93ee4da19cf [AVR] Fix I/O instructions on XMEGA |- 962c2415ffb [AVR] Do not place functions in .progmem.data |- 65b8b170aef [AVR] Do not use divmod calls for bigger integers |- 93a3b595d1c [AVR] Generalize the previous interrupt bugfix to signal |- handlers too |- cc4286349b4 [AVR] Respect the 'interrupt' function attribute |- 954d0a92205 [AVR] Fix reads of uninitialized variables from constructor of AVRSubtarget |- 1c0ddae73c9 [AVR] Fix read of uninitialized variable AVRSubtarget:::ELFArch |- 0ed0823fe60 [AVR] Fix incorrect register state for LDRdPtr |- 96075fc433d [AVR] Don't adjust addresses by 2 for absolute values |- 6dfc55ba53b [AVR] Use correct register class for mul instructions These changes include both correctness fixes and LLVM assertion error fixes. Once all of these commits have been cherry-picked, all of the LLVM plumbing for rust-lang/master to compile the AVR blink program will be in place. Once this commit is merged, only PR rust-lang/rust#73270 will be blocking successful compilation and emission of the AVR LED blink program.
2020-06-13Update LLVM submoduleAmanieu d'Antras-0/+0
2020-06-05Update LLVM submodule to include lld NOLOAD fixarcnmx-0/+0
https://github.com/rust-lang/llvm-project/pull/64
2020-05-20Update LLVM submoduleNikita Popov-0/+0
2020-05-18Update LLVM submoduleAmanieu d'Antras-0/+0
2020-05-18Update llvm-project submoduleAmanieu d'Antras-0/+0
2020-04-29Store LLVM bitcode in object files, not compressedAlex Crichton-0/+0
This commit is an attempted resurrection of #70458 where LLVM bitcode emitted by rustc into rlibs is stored into object file sections rather than in a separate file. The main rationale for doing this is that when rustc emits bitcode it will no longer use a custom compression scheme which makes it both easier to interoperate with existing tools and also cuts down on compile time since this compression isn't happening. The blocker for this in #70458 turned out to be that native linkers didn't handle the new sections well, causing the sections to either trigger bugs in the linker or actually end up in the final linked artifact. This commit attempts to address these issues by ensuring that native linkers ignore the new sections by inserting custom flags with module-level inline assembly. Note that this does not currently change the API of the compiler at all. The pre-existing `-C bitcode-in-rlib` flag is co-opted to indicate whether the bitcode should be present in the object file or not. Finally, note that an important consequence of this commit, which is also one of its primary purposes, is to enable rustc's `-Clto` bitcode loading to load rlibs produced with `-Clinker-plugin-lto`. The goal here is that when you're building with LTO Cargo will tell rustc to skip codegen of all intermediate crates and only generate LLVM IR. Today rustc will generate both object code and LLVM IR, but the object code is later simply thrown away, wastefully.
2020-04-07Update LLVM submodule fixing sanitizers build with glibc 2.31Tomasz Miąsko-0/+0
2020-04-03Make panic unwind the default for aarch64-*-windows-msvc targetsDaniel Frampton-0/+0
2020-03-30Fix #69841 by updating LLVM submodule. Includes regression test for issue 69841.Felix S. Klock II-0/+0
2020-03-29Update LLVM submoduleAmanieu d'Antras-0/+0