Commit Graph

411 Commits

Author SHA1 Message Date
Antoni Boucher
b14b440f3a Format 2022-07-06 15:24:53 -04:00
Antoni Boucher
fea51f391e Fix warnings 2022-07-06 15:24:53 -04:00
Antoni Boucher
d19a5ea868 Fix all command 2022-07-06 15:24:53 -04:00
Antoni Boucher
16ca66d664 Fix build only 2022-07-06 15:24:53 -04:00
Antoni Boucher
85036a5afa Use gccjit from repo 2022-07-06 15:24:53 -04:00
Antoni Boucher
9db55d2f54 Fix vector comparison now returning a vector of integers 2022-07-06 15:24:53 -04:00
Antoni Boucher
6205f1a0c5 Reenable target flags 2022-07-06 15:24:53 -04:00
Antoni Boucher
1c4ca283df Support #[target(enable)] function attribute 2022-07-06 15:24:53 -04:00
Antoni Boucher
4094923789 Disable avx512 2022-07-06 15:24:53 -04:00
Antoni Boucher
910ec42566 Fixes to make stdarch tests compile 2022-07-06 15:24:53 -04:00
Antoni Boucher
1777cdd644 Add antoyo in TODOs 2022-07-06 15:24:53 -04:00
Antoni Boucher
a69770308c Add patch to allow testing stdarch 2022-07-06 15:24:53 -04:00
Alan Egerton
97b7dc2912 Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
antoyo
14e09245c4
Merge pull request #195 from GuillaumeGomez/split-rustc-tests
Split rustc tests in two
2022-07-05 14:24:10 -04:00
Guillaume Gomez
0ba53c8211 Split rustc tests in two 2022-07-05 19:46:59 +02:00
Antoni Boucher
9edaf82a03 Add comment 2022-06-29 21:03:45 -04:00
antoyo
c5b9a7a5a3
Merge pull request #193 from GuillaumeGomez/ci-parallel
Parallelize CI
2022-06-29 17:36:30 -04:00
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