795 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
Guillaume Gomez
afb14f75e1 Unpin compiler-builtins
Co-authored-by: Antoni Boucher <bouanto@zoho.com>
2024-08-12 16:28:27 +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 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
Guillaume Gomez
fd56f44836 Format cg_gcc with same formatting parameters 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
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
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
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
Antoni Boucher
0b5be441cf Fix for gcc-13 without int128 2024-07-05 14:58:07 -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 2d123d08c98419261bddec8f3ad8b80cadb82515.
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
Antoni Boucher
59de4fa991 Fix type of intrinsics 2024-07-02 12:55:30 -04:00
Antoni Boucher
6099d97bcb Fix rebase 2024-07-02 12:40:45 -04:00
Antoni Boucher
05a41b88a9 Merge branch 'master' into sync_from_rust_2024_07_02 2024-07-02 12:40:16 -04:00
Antoni Boucher
ee41c1904a Update to nightly-2024-07-02 2024-07-02 12:33:09 -04:00
Antoni Boucher
4d3d0d492f Fix intrinsic/generic-arithmetic-pass.rs test 2024-07-02 12:28:44 -04:00
Antoni Boucher
cd014cda8c Replace the type of global variables instead of replacing them 2024-07-02 12:28:25 -04:00
Antoni Boucher
bbc765b49b Fix clippy warnings 2024-07-02 12:27:31 -04:00
Antoni Boucher
21b1b11981 WIP: Implement dummy ThinLTO
FIXME: This seems very slow.
==> Not sure anymore: compare with the master branch.
2024-07-02 12:27:25 -04:00
Antoni Boucher
9ca7658817 Fix tests 2024-07-02 12:27:18 -04:00
Antoni Boucher
e8e6663167 Fix provenance intrinsics 2024-07-02 12:25:29 -04:00
Antoni Boucher
0ffcbb0f6e Remove the hack in zext
TODO: make sure this doesn't break something else.
2024-07-02 12:24:47 -04:00
Guillaume Gomez
dd4a546de0 Add explanations for ptr func call argument cast 2024-07-02 12:24:11 -04:00
Guillaume Gomez
527c049584 Fix warnings 2024-07-02 12:24:07 -04:00
Guillaume Gomez
ca654047fb Add missing cast for function_ptr arguments 2024-07-02 12:24:03 -04:00
Guillaume Gomez
30ee7ba862 Add shl and shr missing casts 2024-07-02 12:23:55 -04:00
Guillaume Gomez
068fe5d10a If the type of a global is not the same, we remove the global and replace it with a new one 2024-07-02 12:23:33 -04:00
Guillaume Gomez
621e948721 Fix clippy lint 2024-07-02 12:21:25 -04:00
Guillaume Gomez
7615e04f82 Fix usage of get_size for gcc 12 2024-07-02 12:20:47 -04:00