]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Sat, 14 Mar 2020 17:17:13 +0000 (18:17 +0100)]
[gh actions] Really fix caching this time
bjorn3 [Sat, 14 Mar 2020 15:36:55 +0000 (16:36 +0100)]
Use Vec instead of HashSet for ccx.todo
This reduces runtime of ConstantCx::finalize for the coercions rustc
bench by ~65%
cc #878
bjorn3 [Sat, 14 Mar 2020 14:18:04 +0000 (15:18 +0100)]
Don't lookup span position when the span hasn't changed
This improves performance of FunctionDebugContext::define by ~60%
Fixes #807
bjorn3 [Sat, 14 Mar 2020 14:10:22 +0000 (15:10 +0100)]
Use byte offsets instead of char offsets in debuginfo
cc #807
bjorn3 [Sat, 14 Mar 2020 13:48:04 +0000 (14:48 +0100)]
Dont single step into macros
Fixes #782
bjorn3 [Sat, 14 Mar 2020 13:39:29 +0000 (14:39 +0100)]
Error on allocation containing reference to TLS value
Fixes #868
bjorn3 [Sat, 14 Mar 2020 13:34:07 +0000 (14:34 +0100)]
Write dummy return value on unimplemented simd_{insert,extract}
Fixes #919
bjorn3 [Sat, 14 Mar 2020 11:49:52 +0000 (12:49 +0100)]
[gh actions] Invalidate cargo-registry cache
bjorn3 [Sat, 14 Mar 2020 11:47:18 +0000 (12:47 +0100)]
[gh actions] invalidate cargo-installed-crates cache
bjorn3 [Fri, 13 Mar 2020 19:24:52 +0000 (20:24 +0100)]
[gh actions] Really fix permission problems with caching
bjorn3 [Fri, 13 Mar 2020 18:44:50 +0000 (19:44 +0100)]
[gh actions] Cache cargo registry and index
bjorn3 [Fri, 13 Mar 2020 18:34:35 +0000 (19:34 +0100)]
[gh actions] Fix caching of ~/.cargo/bin
bjorn3 [Fri, 13 Mar 2020 18:24:17 +0000 (19:24 +0100)]
[gh actions] Cache target dir for specific rustc version
bjorn3 [Fri, 13 Mar 2020 17:54:20 +0000 (18:54 +0100)]
[gh actions] Fix caching of cargo installed crates
bjorn3 [Fri, 13 Mar 2020 17:25:18 +0000 (18:25 +0100)]
Setup github actions
bjorn3 [Fri, 13 Mar 2020 10:19:31 +0000 (11:19 +0100)]
Shrink vtable symbol names a bit
bjorn3 [Fri, 13 Mar 2020 10:01:39 +0000 (11:01 +0100)]
Hash trap message symbol nameThis saves ~7% of disk space
bjorn3 [Thu, 12 Mar 2020 20:04:00 +0000 (21:04 +0100)]
Rustup to rustc 1.43.0-nightly (
c20d7eecb 2020-03-11)
bjorn3 [Thu, 12 Mar 2020 10:58:59 +0000 (11:58 +0100)]
Refactor driver/aot.rs
Fixes #917
bjorn3 [Thu, 12 Mar 2020 10:48:17 +0000 (11:48 +0100)]
Move aot code to driver/aot.rs
bjorn3 [Thu, 12 Mar 2020 10:44:27 +0000 (11:44 +0100)]
Move jit code to driver/jit.rs
bjorn3 [Thu, 12 Mar 2020 10:42:01 +0000 (11:42 +0100)]
Move driver.rs
bjorn3 [Thu, 12 Mar 2020 10:40:42 +0000 (11:40 +0100)]
Display crate name in the "codegen mono items" time message
bjorn3 [Thu, 12 Mar 2020 10:25:35 +0000 (11:25 +0100)]
Fix typo found by @lqd
bjorn3 [Thu, 12 Mar 2020 10:20:36 +0000 (11:20 +0100)]
[README] Threads are supported
bjorn3 [Thu, 12 Mar 2020 10:17:19 +0000 (11:17 +0100)]
Better use of env vars
bjorn3 [Wed, 11 Mar 2020 20:51:11 +0000 (21:51 +0100)]
Merge pull request #918 from bjorn3/incr_cache
Implement incremental caching of object files
bjorn3 [Wed, 11 Mar 2020 18:54:18 +0000 (19:54 +0100)]
Mention CG_CLIF_INCR_CACHE in the readme
bjorn3 [Wed, 11 Mar 2020 14:18:01 +0000 (15:18 +0100)]
Implement incremental caching of object files
bjorn3 [Wed, 11 Mar 2020 13:08:54 +0000 (14:08 +0100)]
Don't disable inline asm in hint::spin_loop
bjorn3 [Wed, 11 Mar 2020 12:58:22 +0000 (13:58 +0100)]
Merge pull request #916 from bjorn3/fn_once_for_box_without_alloca
Emulate `<Box<F> as FnOnce>::call_once` without `alloca`
bjorn3 [Tue, 10 Mar 2020 19:53:05 +0000 (20:53 +0100)]
Don't disable multithreading in libtest
bjorn3 [Tue, 10 Mar 2020 19:51:38 +0000 (20:51 +0100)]
Rustup to rustc 1.43.0-nightly (
3dbade652 2020-03-09)
bjorn3 [Tue, 10 Mar 2020 19:48:58 +0000 (20:48 +0100)]
Emulate `<Box<F> as FnOnce>::call_once` without `alloca`
Fixes #884
cc #15
bjorn3 [Tue, 10 Mar 2020 19:41:31 +0000 (20:41 +0100)]
Support virtual calls with unsized self argument
dependabot-preview[bot] [Tue, 10 Mar 2020 09:40:23 +0000 (10:40 +0100)]
Bump proc-macro2 from 1.0.8 to 1.0.9 (#908)
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.8...1.0.9)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Tue, 10 Mar 2020 09:40:04 +0000 (10:40 +0100)]
Bump syn from 1.0.15 to 1.0.16 (#907)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.15...1.0.16)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
dependabot-preview[bot] [Tue, 10 Mar 2020 09:39:45 +0000 (10:39 +0100)]
Bump quote from 1.0.2 to 1.0.3 (#912)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.2...1.0.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bjorn3 [Mon, 9 Mar 2020 10:21:40 +0000 (11:21 +0100)]
Use multiple codegen units
Fixes #909
dependabot-preview[bot] [Mon, 9 Mar 2020 07:10:15 +0000 (07:10 +0000)]
Merge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-
fbe29da
dependabot-preview[bot] [Mon, 9 Mar 2020 05:17:39 +0000 (05:17 +0000)]
Bump cranelift-codegen from `
4284491 ` to `
fbe29da `
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `
4284491 ` to `
fbe29da `.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/
428449133943213f2edc58ec161efcbb23d0eebd ...
fbe29da5cc1c0847af176f151f114a6a535534ff )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sun, 8 Mar 2020 12:27:43 +0000 (13:27 +0100)]
Revert "Use multiple codegen units"
This reverts commit
03acf67a0e3a2780d2a1443f4e4596b69d9a2b09 .
bjorn3 [Sun, 8 Mar 2020 11:25:11 +0000 (12:25 +0100)]
Fix Cranelift patch paths
bjorn3 [Sat, 7 Mar 2020 11:45:55 +0000 (12:45 +0100)]
Use multiple codegen units
bjorn3 [Sat, 7 Mar 2020 11:45:05 +0000 (12:45 +0100)]
Move emit_module call
bjorn3 [Sat, 7 Mar 2020 11:16:32 +0000 (12:16 +0100)]
Move time "codegen mono items" out of codegen_mono_items
bjorn3 [Sat, 7 Mar 2020 11:13:54 +0000 (12:13 +0100)]
Check for main in current module before codegen of entry wrapper
bjorn3 [Sat, 7 Mar 2020 10:54:35 +0000 (11:54 +0100)]
Inline codegen_cgus
bjorn3 [Sat, 7 Mar 2020 10:27:49 +0000 (11:27 +0100)]
Misc changes
bjorn3 [Sat, 7 Mar 2020 10:11:42 +0000 (11:11 +0100)]
Update Cranelift
bjorn3 [Sat, 7 Mar 2020 10:10:33 +0000 (11:10 +0100)]
Remove unused inline asm whitelist
bjorn3 [Sat, 7 Mar 2020 10:06:24 +0000 (11:06 +0100)]
Don't run dsymutil on librustc_codegen_cranelift on macOS
This halves clean incremental compilation time
bjorn3 [Sat, 7 Mar 2020 09:39:57 +0000 (10:39 +0100)]
Rustup to rustc 1.43.0-nightly (
2890b37b8 2020-03-06)
bjorn3 [Wed, 4 Mar 2020 14:04:28 +0000 (15:04 +0100)]
Rustup to rustc 1.43.0-nightly (
4ad624882 2020-03-03)
bjorn3 [Sat, 29 Feb 2020 13:24:29 +0000 (14:24 +0100)]
Update for the merge of Cranelift into Wasmtime
bjorn3 [Sat, 29 Feb 2020 13:19:16 +0000 (14:19 +0100)]
Rustup to rustc 1.43.0-nightly (
0eb878d2a 2020-02-28)
bjorn3 [Wed, 26 Feb 2020 15:35:13 +0000 (16:35 +0100)]
Implement simd_fma
bjorn3 [Wed, 26 Feb 2020 14:11:37 +0000 (15:11 +0100)]
Merge pull request #784 from bjorn3/wip_tls_support
TLS support
bjorn3 [Sun, 27 Oct 2019 15:55:35 +0000 (16:55 +0100)]
Tls support
bjorn3 [Wed, 26 Feb 2020 13:30:11 +0000 (14:30 +0100)]
Rustup to rustc 1.43.0-nightly (
6fd8798f4 2020-02-25)
dependabot-preview[bot] [Mon, 24 Feb 2020 06:57:12 +0000 (06:57 +0000)]
Merge pull request #903 from bjorn3/dependabot/cargo/cranelift-codegen-
5ad5505
dependabot-preview[bot] [Mon, 24 Feb 2020 05:09:52 +0000 (05:09 +0000)]
Bump cranelift-codegen from `
0c7da4a ` to `
5ad5505 `
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `
0c7da4a ` to `
5ad5505 `.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/
0c7da4a66325b82423111927b0d701e9a09269a6 ...
5ad55057f18652ad0a4f270cd9b2876eb051c7d0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sat, 22 Feb 2020 14:57:53 +0000 (15:57 +0100)]
Fix JIT on macOS
Fixes #671
bjorn3 [Sat, 22 Feb 2020 14:17:30 +0000 (15:17 +0100)]
Silence some warnings
bjorn3 [Sat, 22 Feb 2020 13:29:34 +0000 (14:29 +0100)]
Update dependencies
bjorn3 [Sat, 22 Feb 2020 13:25:22 +0000 (14:25 +0100)]
Update Cranelift
bjorn3 [Sat, 22 Feb 2020 13:20:37 +0000 (14:20 +0100)]
Rustup to rustc 1.43.0-nightly (
8aa9d2014 2020-02-21)
dependabot-preview[bot] [Mon, 17 Feb 2020 16:54:27 +0000 (17:54 +0100)]
Bump thiserror from 1.0.10 to 1.0.11 (#894)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 17 Feb 2020 06:32:54 +0000 (06:32 +0000)]
Merge pull request #896 from bjorn3/dependabot/cargo/cranelift-codegen-
cd3d84e
dependabot-preview[bot] [Mon, 17 Feb 2020 05:10:16 +0000 (05:10 +0000)]
Bump cranelift-codegen from `
f1aa072 ` to `
cd3d84e `
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `
f1aa072 ` to `
cd3d84e `.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/
f1aa07265b3b25c1859f7184e92fd600316b4b25 ...
cd3d84e580cc69876a93ea87ef12d45ee2942b2d )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sat, 15 Feb 2020 10:59:38 +0000 (11:59 +0100)]
Update Cranelift and use the new ineg instruction
bjorn3 [Fri, 14 Feb 2020 18:12:43 +0000 (19:12 +0100)]
Use archive_format for determining if gnu style archives should be emitted
Fixes #893
bjorn3 [Fri, 14 Feb 2020 17:37:28 +0000 (18:37 +0100)]
Update dependencies
bjorn3 [Fri, 14 Feb 2020 17:23:29 +0000 (18:23 +0100)]
Update Cranelift for basic blocks
bjorn3 [Fri, 14 Feb 2020 17:20:34 +0000 (18:20 +0100)]
Rustup to rustc 1.43.0-nightly (
5d04ce67f 2020-02-13)
bjorn3 [Fri, 7 Feb 2020 20:38:30 +0000 (21:38 +0100)]
Use TrapCode::UnreachableCodeReached in trap_unreachable
bjorn3 [Fri, 7 Feb 2020 19:27:37 +0000 (20:27 +0100)]
[OPT] Don't call monomorphize from clif_type
bjorn3 [Fri, 7 Feb 2020 12:55:02 +0000 (13:55 +0100)]
Remove the sudo key from .travis.yml
It has been deprecated and doesn't have any effect anymore
bjorn3 [Fri, 7 Feb 2020 12:49:48 +0000 (13:49 +0100)]
Rustup to rustc 1.43.0-nightly (
442ae7f04 2020-02-06)
bjorn3 [Mon, 3 Feb 2020 20:36:36 +0000 (21:36 +0100)]
Revert "Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos"
This reverts commit
eb4fc45310c70513d73d893616cd6735465680ca .
It caused a panic while compiling simple-raytracer
bjorn3 [Mon, 3 Feb 2020 20:05:18 +0000 (21:05 +0100)]
Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos
The former calculates byte offsets instead of char offsets. It is faster
to calculate byte offsets than char offsets. Also most DWARF producers
and consumers use byte offsets instead of char offsets.
bjorn3 [Sat, 1 Feb 2020 15:47:35 +0000 (16:47 +0100)]
Don't mark unwind ebbs as cold
This fixes the code_layout optimization, as it would previously try to
move non-existing ebbs.
Fixes #877
bjorn3 [Sat, 1 Feb 2020 11:35:45 +0000 (12:35 +0100)]
Update smallvec to 1.2.0
bjorn3 [Sat, 1 Feb 2020 11:35:03 +0000 (12:35 +0100)]
Rustup to rustc 1.42.0-nightly (
cd1ef390e 2020-01-31)
bjorn3 [Wed, 29 Jan 2020 10:32:59 +0000 (11:32 +0100)]
Update thiserror
bjorn3 [Wed, 29 Jan 2020 10:31:17 +0000 (11:31 +0100)]
Update Cranelift
bjorn3 [Wed, 29 Jan 2020 10:21:29 +0000 (11:21 +0100)]
Rustup to rustc 1.42.0-nightly (
3761dcd34 2020-01-28)
dependabot-preview[bot] [Mon, 27 Jan 2020 08:07:20 +0000 (08:07 +0000)]
Merge pull request #883 from bjorn3/dependabot/cargo/cranelift-codegen-
9a578c1
dependabot-preview[bot] [Mon, 27 Jan 2020 05:09:35 +0000 (05:09 +0000)]
Bump cranelift-codegen from `
93e3bc1 ` to `
9a578c1 `
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `
93e3bc1 ` to `
9a578c1 `.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](https://github.com/bytecodealliance/cranelift/compare/
93e3bc19985d0be2d0bfb7bcf990139c4a95358d ...
9a578c10924ce485a7b7e22dd5577ebc96538bb0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sat, 25 Jan 2020 16:55:48 +0000 (17:55 +0100)]
Disable the code_layout optimization
When compiling libcore, it causes ebb params to be dropped for a certain function
bjorn3 [Sat, 25 Jan 2020 16:54:49 +0000 (17:54 +0100)]
Add #[cfg(debug_assertions)] to write_clif_file
This silences a warning in release mode
bjorn3 [Sat, 25 Jan 2020 16:24:45 +0000 (17:24 +0100)]
Update compiler_builtins
bjorn3 [Sat, 25 Jan 2020 15:24:48 +0000 (16:24 +0100)]
Replace unimplemented! with unreachable! when it will never be supported
bjorn3 [Sat, 25 Jan 2020 15:24:15 +0000 (16:24 +0100)]
Fix correctness of optimization
bjorn3 [Sat, 25 Jan 2020 15:23:54 +0000 (16:23 +0100)]
Allow unsized types as function parameters
bjorn3 [Sat, 25 Jan 2020 11:28:22 +0000 (12:28 +0100)]
Remove outdated troubleshooting section
The nightly version is pinned since recently
bjorn3 [Sat, 25 Jan 2020 11:01:35 +0000 (12:01 +0100)]
Rustup to rustc 1.42.0-nightly (
c2d141df5 2020-01-24)
bjorn3 [Wed, 22 Jan 2020 19:24:17 +0000 (20:24 +0100)]
Re-introduce FnBox
bjorn3 [Sat, 18 Jan 2020 09:23:51 +0000 (10:23 +0100)]
Improve PlaceElem::Subslice handling
bjorn3 [Sat, 18 Jan 2020 11:43:31 +0000 (12:43 +0100)]
Make atomic instructions atomic using a global lock