bjorn3
20ffea6b8a
Change the way JIT mode is selected
2020-12-25 11:31:33 +01:00
bjorn3
c556e4dd35
Use PIC in JIT mode too
2020-12-25 10:55:11 +01:00
bjorn3
510616fc07
Rustup to rustc 1.50.0-nightly (bb1fbbf84 2020-12-22)
2020-12-23 12:47:20 +01:00
bjorn3
dfe6495b60
Sync from rust 28d73a3ee3e2c32f2768d1cbc9b42cb63472e9e9
2020-12-23 12:27:58 +01:00
Jack Huey
6c1fc324b2
Make BoundRegion have a kind of BoungRegionKind
2020-12-18 15:27:28 -05:00
bjorn3
54ba238a6d
Remove implementation of intrinsics that are now lowered
...
See rust-lang/rust#80040
2020-12-18 11:12:52 +01:00
bjorn3
32f92aa34f
Rustup to rustc 1.50.0-nightly (eb4fc71dc 2020-12-17)
2020-12-18 11:11:48 +01:00
bjorn3
06e77b979f
Sync from rust fee693d08e98d25f566075cbed73e12236c05abd
2020-12-18 11:06:23 +01:00
bors
a921a476c8
Auto merge of #79945 - jackh726:existential_trait_ref, r=nikomatsakis
...
Move binder for dyn to each list item
This essentially changes `ty::Binder<&'tcx List<ExistentialTraitRef>>` to `&'tcx List<ty::Binder<ExistentialTraitRef>>`.
This is a first step in moving the `dyn Trait` representation closer to Chalk, which we've talked about in `@rust-lang/wg-traits.`
r? `@nikomatsakis`
2020-12-17 18:21:20 +00:00
bjorn3
8e234d5d4b
Rustup to rustc 1.50.0-nightly (b32e6e6ac 2020-12-16)
2020-12-17 18:36:00 +01:00
bjorn3
0f57e1cf9b
Sync from rust caeb3335c052f286f6e7257ac0ff21e4f73fd8c5
2020-12-17 16:40:10 +01:00
David Wood
5f6c32af15
cg_clif: fix build with split dwarf
...
This commit makes minor changes to the cranelift backend so that it can
build given changes in cg_ssa for Split DWARF.
Signed-off-by: David Wood <david@davidtw.co>
2020-12-16 10:33:48 +00:00
bjorn3
44b331047d
Also emit vcode when emitting clif ir while using new style backends
2020-12-14 12:54:18 +01:00
Jesse
cd21269ae0
Fix Cranelift link in readme ( #1118 )
2020-12-13 10:58:47 +01:00
bjorn3
3f47f938ba
Enable Cranelift optimizations when optimizing
...
LICM in Cranelift has been fixed recently
2020-12-12 10:38:46 +01:00
bjorn3
f8e22bfb1b
Update Cranelift
2020-12-12 10:37:10 +01:00
Jack Huey
42b267d221
Move binder for dyn to each list item
2020-12-11 15:02:46 -05:00
bors
aec0fc58ad
Auto merge of #77611 - oli-obk:atomic_miri_leakage, r=nagisa
...
Directly use raw pointers in `AtomicPtr` store/load
I was unable to find any reason for this limitation in the latest source of LLVM or in the documentation [here](http://llvm.org/docs/Atomics.html#libcalls-atomic ).
fixes https://github.com/rust-lang/miri/issues/1574
2020-12-09 19:53:23 +00:00
bjorn3
994b91ac73
Optimize branches when the target is statically known to a jump
...
This can happen in generic code
2020-12-09 19:55:11 +01:00
bjorn3
5f21ff20b3
Inline codegen_mono_item
2020-12-04 10:19:50 +01:00
bjorn3
3f28a49177
Update Cranelift
...
This includes bytecodealliance/wasmtime#2403 which enables hotswapping with SimpleJIT
2020-12-04 10:19:32 +01:00
bjorn3
d95d03ae8a
Support #[repr(simd)] on array wrappers
...
Complement to rust-lang/rust#78863
2020-12-03 12:59:36 +01:00
bjorn3
64e7ff25f6
Update Cranelift
2020-12-03 12:12:46 +01:00
bjorn3
a8cda1aee1
Rustup to rustc 1.50.0-nightly (f4db9ffb2 2020-12-02)
2020-12-03 11:52:11 +01:00
oli
7760894d3f
Allow cranelift to handle atomic pointers
2020-11-29 14:56:19 +00:00
bjorn3
3d357e6505
Sync from rust 760430e6fdd70cdb09b5b6d696905c0ee0ea27c8
2020-11-29 14:50:21 +01:00
bjorn3
d404840788
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
2020-11-27 20:48:53 +01:00
bjorn3
5988bbd24a
Revert "Use the new component dependency option of the rust-toolchain file"
...
This reverts commit 648caced6eb0d23c31758f69f2f44a7d748526b9.
Rustup on github actions isn't yet updated
2020-11-27 18:05:05 +01:00
bjorn3
de4ce8c05f
Sync from rust c9228570668803e3e6402770d55f23a12c9ae686
2020-11-27 18:01:29 +01:00
bjorn3
aef656aee8
Rustup to rustc 1.50.0-nightly (72da5a9d8 2020-11-26)
2020-11-27 18:01:01 +01:00
bjorn3
648caced6e
Use the new component dependency option of the rust-toolchain file
2020-11-27 17:53:55 +01:00
bors
b5f6c0032e
Auto merge of #79336 - camelid:rename-feature-oibit-to-auto, r=oli-obk
...
Rename `optin_builtin_traits` to `auto_traits`
They were originally called "opt-in, built-in traits" (OIBITs), but
people realized that the name was too confusing and a mouthful, and so
they were renamed to just "auto traits". The feature flag's name wasn't
updated, though, so that's what this PR does.
There are some other spots in the compiler that still refer to OIBITs,
but I don't think changing those now is worth it since they are internal
and not particularly relevant to this PR.
Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name >.
r? `@oli-obk` (feel free to re-assign if you're not the right reviewer for this)
2020-11-25 07:25:19 +00:00
Camelid
57739b54cb
Rename optin_builtin_traits
to auto_traits
...
They were originally called "opt-in, built-in traits" (OIBITs), but
people realized that the name was too confusing and a mouthful, and so
they were renamed to just "auto traits". The feature flag's name wasn't
updated, though, so that's what this PR does.
There are some other spots in the compiler that still refer to OIBITs,
but I don't think changing those now is worth it since they are internal
and not particularly relevant to this PR.
Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name >.
2020-11-23 14:14:06 -08:00
bjorn3
41047de9e2
Rustfmt
2020-11-23 11:49:06 +01:00
bjorn3
e99f78af08
Make simd_extract panic at runtime on non-const index again
...
This is necessary to compile packed_simd
2020-11-23 11:48:53 +01:00
bjorn3
d2eeed4ff5
Implement more simd_reduce_* intrinsics
2020-11-23 11:45:41 +01:00
bjorn3
47ff2e0932
Implement float simd comparisons
2020-11-23 11:21:15 +01:00
bjorn3
22c9623604
Implement simd_reduce_{add,mul}_{,un}ordered
2020-11-23 11:09:19 +01:00
Lzu Tao
e4cc56d760
Drop support for cloudabi targets
2020-11-22 17:11:41 -05:00
bjorn3
c3179bc44b
Rustup to rustc 1.50.0-nightly (593fe977a 2020-11-20)
2020-11-21 19:49:51 +01:00
bjorn3
77e90f1cb5
Sync from rust 539402cb0b0f1639a4be14e40eaf8db61a62ae41
2020-11-21 18:43:51 +01:00
Bastian Kauschke
56e63805be
update cg_clif
2020-11-16 22:42:09 +01:00
bjorn3
ffd6fdd843
Remove unnecessary paths from LD_LIBRARY_PATH
2020-11-13 19:51:00 +01:00
bjorn3
c982c48579
Use rpath to compile the cg_clif executable
2020-11-13 19:48:49 +01:00
bjorn3
bf94b3819c
Rustfmt
2020-11-13 19:02:24 +01:00
bjorn3
7ec44711e6
Rustup to rustc 1.49.0-nightly (9722952f0 2020-11-12)
2020-11-13 19:01:40 +01:00
bjorn3
753e6bcd5f
Sync from rust f2a11a25378293e41cfcb00dbf67c524ffd79b39
2020-11-13 18:47:37 +01:00
bjorn3
4e547b942d
Move some things from codegen_mono_item to trans_fn
2020-11-12 17:08:51 +01:00
bjorn3
db8fa0edfa
Inline codegen_mono_items and outline predefine_mono_items
2020-11-12 17:07:02 +01:00
bjorn3
0a4f37c1fa
Merge pull request #1111 from jakobhellermann/hardlinks-instead-of-copy
...
use hardlinks instead of copying files
2020-11-12 16:37:40 +01:00