Commit Graph

394 Commits

Author SHA1 Message Date
Guillaume Gomez
18350b70ab Parallelize CI tests 2022-06-29 17:47:02 +02:00
antoyo
78e4713963
Merge pull request #188 from GuillaumeGomez/simplify-ci
Simplify CI
2022-06-29 11:36:05 -04:00
Guillaume Gomez
4ef0d19bec Add --mini-tests option and run mini-tests in CI 2022-06-29 15:40:11 +02:00
Guillaume Gomez
9a42e6b474 Clean up environment variables 2022-06-29 15:38:13 +02:00
bjorn3
c0ec18bd0d Avoid unnecessary string interning for const_str 2022-06-28 18:38:36 +00:00
Guillaume Gomez
ed37ed7cb8 Simplify github actions conf 2022-06-26 22:33:28 +02:00
antoyo
be5caeb8c9
Merge pull request #189 from rust-lang/fix/disable-erroring-tests
Disable UI tests that fail on the rustc side
2022-06-24 21:10:16 -04:00
Antoni Boucher
161ccb36b1 Disable UI tests that fail on the rustc side 2022-06-24 19:27:53 -04:00
Guillaume Gomez
5e6a3be56c Merge duplicated rules 2022-06-24 21:47:37 +02:00
antoyo
d6aadc684b
Merge pull request #187 from GuillaumeGomez/invalid-conversion
Prevent invalid intrinsics conversion generation
2022-06-24 12:57:54 -04:00
antoyo
39d7a23170
Merge pull request #185 from rust-lang/feature/dummy-fast-math
Add dummy fast math implementation
2022-06-24 11:30:26 -04:00
Guillaume Gomez
f7a3dffc0b Add missing intrinsics conversions for ignored invalid LLVM intrinsics 2022-06-24 17:25:09 +02:00
antoyo
45e3a4aa57
Merge pull request #186 from GuillaumeGomez/update-intrinsics-tool
Update intrinsics tool
2022-06-23 09:56:31 -04:00
Antoni Boucher
4dc0bbf40e Add dummy fast math implementation 2022-06-23 09:55:33 -04:00
Guillaume Gomez
94b345705a Regen without invalid conversion intrinsics 2022-06-23 13:39:30 +02:00
Guillaume Gomez
2581f7e284 Don't generate *_round_mask* intrinsics as the GCC equivalent is different 2022-06-23 13:39:30 +02:00
Guillaume Gomez
48347715fb Regen intrinsics 2022-06-23 13:28:38 +02:00
Guillaume Gomez
08df4751b7 Update extraction of builtins from llvm-project 2022-06-23 13:27:34 +02:00
bors
6bad0d5b20 Auto merge of #98098 - bjorn3:archive_refactor, r=michaelwoerister
Remove the source archive functionality of ArchiveWriter

We now build archives through strictly additive means rather than taking an existing archive and potentially substracting parts. This is simpler and makes it easier to swap out the archive writer in https://github.com/rust-lang/rust/pull/97485.
2022-06-21 16:24:56 +00:00
bjorn3
0d28d642b5 Remove the source archive functionality of ArchiveWriter
We now build archives through strictly additive means rather than taking
an existing archive and potentially substracting parts.
2022-06-19 12:56:31 +00:00
bjorn3
2c7038b860 Fix "Remove src_files and remove_file" 2022-06-19 12:56:31 +00:00
antoyo
94e38002bf
Merge pull request #182 from GuillaumeGomez/duplicated-intrinsics
Remove duplicated intrinsics and add check
2022-06-18 19:49:13 -04:00
Guillaume Gomez
8d253b9f73 Add new workflow to check for duplicated intrinsics 2022-06-18 20:29:34 +02:00
Guillaume Gomez
c297534d94 Add tool to check duplicates between manual and auto code for intrinsics 2022-06-18 20:29:34 +02:00
antoyo
302157d7bd
Merge pull request #181 from GuillaumeGomez/more-intrinsics
More intrinsics
2022-06-18 11:25:34 -04:00
Yuki Okushi
e4b0d3aff2 Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
Make `std::mem::needs_drop` accept `?Sized`

This change attempts to make `needs_drop` work with types like `[u8]` and `str`.

This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676.
2022-06-17 07:16:55 +09:00
bjorn3
489d2daec0 Remove src_files and remove_file
They only apply to the main source archive and their role can be
fulfilled through the skip argument of add_archive too.
2022-06-14 15:11:14 +00:00
flip1995
0acd23c1da Add llvm.type.checked.load intrinsic
Add the intrinsic

declare {i8*, i1} @llvm.type.checked.load(i8* %ptr, i32 %offset, metadata %type)

This is used in the VFE optimization when lowering loading functions
from vtables to LLVM IR. The `metadata` is used to map the function to
all vtables this function could belong to. This ensures that functions
from vtables that might be used somewhere won't get removed.
2022-06-14 14:50:52 +02:00
Antoni Boucher
8ac2af17ca Update cross-compiling instructions 2022-06-10 08:02:24 -04:00
antoyo
e48c92e391
Merge pull request #176 from rust-lang/feature/more-simd
Feature/more simd
2022-06-09 22:12:32 -04:00
Antoni Boucher
ee4755afdb Add more SIMD 2022-06-09 21:11:30 -04:00
Guillaume Gomez
c66055c193 Generate new intrinsics 2022-06-09 14:25:48 +02:00
Guillaume Gomez
558f124f96 Use llvm-tblgen tool to generate more and better intrinsics output 2022-06-09 14:25:35 +02:00
Antoni Boucher
fc7030130e Remove unused macro rule 2022-06-07 08:50:13 -04:00
Antoni Boucher
2ba5845c52 Update Cargo files 2022-06-06 22:08:07 -04:00
Antoni Boucher
13fa30c6c3 Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
b55bd956dc Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
e5a1bb2f59 Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
fe606eb444 Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
df85771b34 Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
06073c9dfc Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
2fa6a9080b Add more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
f59d345fc1 Refactor 2022-06-06 22:08:07 -04:00
Antoni Boucher
4e802c84c5 Remove intrinsics that were adding by the updated script 2022-06-06 22:08:07 -04:00
Antoni Boucher
3b35940443 Implement more SIMD 2022-06-06 22:08:07 -04:00
Antoni Boucher
fac57d9a06 Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc 2022-06-06 22:04:37 -04:00
antoyo
e8dca3e87d
Merge pull request #179 from rust-lang/sync_from_rust2
Sync from rust2
2022-06-06 22:03:09 -04:00
Antoni Boucher
fb69f73d67 Fix exactudiv 2022-06-06 21:17:14 -04:00
Antoni Boucher
8697dec532 Update toolchain 2022-06-06 20:57:49 -04:00
Antoni Boucher
bafdded12b Merge branch 'master' into sync_from_rust2 2022-06-06 20:57:25 -04:00