Commit Graph

1438 Commits

Author SHA1 Message Date
Guillaume Gomez
c207badc2d Add missing intrinsics translation for llvm.x86.xsavec64 and fix more intrinsic calls 2024-09-04 15:19:41 +02:00
Antoni Boucher
623dc09fa3 Add support for more SIMD intrinsics 2024-09-03 21:09:49 -04:00
Guillaume Gomez
39e191077b Add missing intrinsic translation for llvm.x86.xsaveopt64 2024-09-04 00:42:12 +02:00
Guillaume Gomez
244ac08734 Add missing intrinsic translation for llvm.x86.xrstor64 2024-09-04 00:35:04 +02:00
Guillaume Gomez
139eea948d fmt 2024-09-04 00:34:34 +02:00
Antoni Boucher
2e7d256280 Add more SIMD intrinsics 2024-09-03 16:25:39 -04:00
Guillaume Gomez
197df44af9 Regenerate intrinsics 2024-09-03 21:58:18 +02:00
Guillaume Gomez
e064b729b9 Add missing intrinsic translation for llvm.x86.xsave64 2024-09-03 21:53:06 +02:00
Antoni Boucher
d3c9cc57d2 Add support for missing SIMD intrinsics 2024-09-03 12:03:53 -04:00
Antoni Boucher
4dd288cecf Fix tests 2024-09-01 13:02:04 -04:00
Antoni Boucher
0bdc5ffd68 Support the weak variable attribute 2024-09-01 11:23:24 -04:00
Antoni Boucher
d3cfb7274d Fix clippy lint 2024-08-13 15:21:09 -04:00
Antoni Boucher
b4ef8980a3 Fix formatting 2024-08-13 13:03:25 -04:00
Antoni Boucher
b70a1ec0b1 Add missing impl Copy for *mut T 2024-08-13 11:31:27 -04:00
Guillaume Gomez
afb14f75e1 Unpin compiler-builtins
Co-authored-by: Antoni Boucher <bouanto@zoho.com>
2024-08-12 16:28:27 +02:00
Guillaume Gomez
3b45cf476a Update sysroot Cargo.lock 2024-08-12 16:10:12 +02:00
Guillaume Gomez
fb6118b824 Rename compiler-builtins-no-f16-f128 into std/compiler-builtins-no-f16-f128 2024-08-12 15:17:57 +02:00
Guillaume Gomez
8643c13e54 Fix patch libgccjit12/0001-core-Disable-portable-simd-test.patch 2024-08-12 15:17:57 +02:00
Guillaume Gomez
dd76ad45b3 Fix libcore patch 2024-08-12 15:17:57 +02:00
Guillaume Gomez
8bd9b48e7e Update compiler version to nightly-2024-08-11 2024-08-12 15:17:57 +02:00
Nadrieril
b373147918 Fixes in various places 2024-08-12 15:17:57 +02:00
Guillaume Gomez
f824fb6d9f Update compiler-builtins version to 0.1.118 2024-08-12 15:17:57 +02:00
Caleb Zulawski
51130e10f1 Hide implicit target features from diagnostics when possible 2024-08-12 15:17:57 +02:00
Caleb Zulawski
e80199cc79 Refactor and fill out target feature lists 2024-08-12 15:17:57 +02:00
bjorn3
50b374627f Move computation of decorated names out of the create_dll_import_lib method 2024-08-12 15:17:57 +02:00
bjorn3
c57eb5581f Move temp file name generation out of the create_dll_import_lib method 2024-08-12 15:17:57 +02:00
Nicholas Bishop
78f5ee6518 Update compiler_builtins to 0.1.114
The `weak-intrinsics` feature was removed from compiler_builtins in
https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the
`compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot.

In https://github.com/rust-lang/compiler-builtins/pull/593, some
builtins for f16/f128 were added. These don't work for all compiler
backends, so add a `compiler-builtins-no-f16-f128` feature and disable
it for cranelift and gcc. Also disable it for LLVM targets that don't
support it.
2024-08-12 15:17:57 +02:00
Nicholas Nethercote
1cbbac3911 Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-08-12 15:17:57 +02:00
Slanterns
88f7508da7 stabilize is_sorted 2024-08-12 15:17:57 +02:00
Guillaume Gomez
fd56f44836 Format cg_gcc with same formatting parameters 2024-08-12 15:17:57 +02:00
Guillaume Gomez
f34f3c7e7f Align cg_gcc rustfmt.toml with rust's 2024-08-12 15:17:57 +02:00
bjorn3
6199de2833 Sync ar_archive_writer to LLVM 18.1.3
From LLVM 15.0.0-rc3. This adds support for COFF archives containing
Arm64EC object files and has various fixes for AIX big archive files.
2024-08-12 15:17:57 +02:00
Michael Goulet
24ab684b44 Remove lang feature for type ascription 2024-08-12 15:17:57 +02:00
Ralf Jung
fb4738571f Miri function identity hack: account for possible inlining 2024-08-12 15:15:14 +02:00
Michael Goulet
007fa3b94e Fix spans 2024-08-12 15:15:14 +02:00
Michael Goulet
3eb28444b5 Give Instance::expect_resolve a span 2024-08-12 15:15:14 +02:00
antoyo
2cc32badb4
Merge pull request #554 from sapir/remove-void-func-debug-var
Remove dummy value locals for function ptr calls
2024-08-07 08:20:27 -04:00
sapir
4fe1647d21 Remove dummy value locals for function ptr calls 2024-08-07 13:45:19 +03:00
antoyo
fb95096593
Merge pull request #549 from sapir/value-counter
Replace stack_var_count and RETURN_VALUE_COUNT with a single counter
2024-08-05 13:38:30 -04:00
antoyo
0475182ddc
Merge pull request #548 from sapir/code-model
Code model
2024-08-05 13:36:46 -04:00
sapir
014a84029c Replace stack_var_count and RETURN_VALUE_COUNT with a single counter 2024-08-05 01:23:47 +03:00
sapir
f579dee206 Implement CodeModel 2024-08-05 00:37:59 +03:00
sapir
f7f9a3fb28 Update Cargo.lock 2024-08-05 00:37:51 +03:00
antoyo
98ed962c7d
Merge pull request #535 from rust-lang/sync_from_rust_2024_07_02
Sync from rust 2024/07/02
2024-07-05 16:09:54 -04:00
Antoni Boucher
5681c3cf68 Cleanup 2024-07-05 15:35:57 -04:00
Antoni Boucher
0b5be441cf Fix for gcc-13 without int128 2024-07-05 14:58:07 -04:00
Antoni Boucher
14d327a265 Disable run-make tests 2024-07-05 13:44:25 -04:00
Antoni Boucher
fe054be06e Second attempt at fixing LTO tests
FIXME: we now have fat LTO objects even when only bitcode is requested.
2024-07-05 11:55:08 -04:00
Antoni Boucher
bc8520d98e Revert "Fix LTO tests"
This reverts commit 2d123d08c9.
2024-07-05 11:35:16 -04:00
Antoni Boucher
2d123d08c9 Fix LTO tests
FIXME: we now have fat LTO objects even when only bitcode is requested.
2024-07-05 10:42:03 -04:00