Oliver Schneider
98e5129375
Better variable naming
2018-05-24 20:49:38 +02:00
Oliver Schneider
97da01f8ad
Remove the last mention of Undef
2018-05-24 20:49:38 +02:00
Oliver Schneider
c420531304
Replace ScalarKind
with Primitive
2018-05-24 20:49:37 +02:00
Oliver Schneider
cc60a22b10
Get rid of scalar_size
2018-05-24 20:49:37 +02:00
Oliver Schneider
0da702a6d4
Remove an instance of scalar_size
in a Debug
impl
2018-05-24 20:49:37 +02:00
Oliver Schneider
ff652b8a01
Update outdated comment
2018-05-24 20:49:37 +02:00
Oliver Schneider
f82256e473
primval -> scalar rename
2018-05-24 20:49:37 +02:00
Oliver Schneider
1550fd212b
Use the destination type size instead of the source type size
2018-05-24 20:49:37 +02:00
Oliver Schneider
edbdf3d263
Formatting nit
2018-05-24 20:49:37 +02:00
Oliver Schneider
ea8f544964
Rebase fallout
2018-05-24 20:49:37 +02:00
Oliver Schneider
9456ba66bf
Accidentally used byte-size instead of bit-size
2018-05-24 20:49:37 +02:00
Oliver Schneider
4ca169ce84
Use the target types bitsize instead of the source type's
2018-05-24 20:49:37 +02:00
Oliver Schneider
bf39c7f87c
Floats are scalars!
2018-05-24 20:49:37 +02:00
Oliver Schneider
64a75ecc80
change Value::Bytes
to Value::Bits
2018-05-24 20:49:37 +02:00
Oliver Schneider
3bbf2fd715
Remove Pointer::zero in favor of Pointer::from
2018-05-24 20:48:54 +02:00
Oliver Schneider
d7324631ae
Rename MemoryPointer to Pointer
2018-05-24 20:48:54 +02:00
Oliver Schneider
03a92b61ec
Eliminate the Pointer
wrapper type
2018-05-24 20:48:13 +02:00
Oliver Schneider
6436de89fe
Differentiate between interpret::Scalar and layout::Scalar
2018-05-24 20:47:35 +02:00
Oliver Schneider
ef2177cffc
Rename ByVal(Pair) to Scalar(Pair)
2018-05-24 20:47:35 +02:00
Oliver Schneider
1606e137e7
Rename PrimVal to Scalar
2018-05-24 20:47:35 +02:00
Oliver Schneider
9cc5d927c9
Add constant for Size::from_bytes(0)
2018-05-24 20:46:07 +02:00
Guillaume Gomez
fe9a19580c
Add documentation about env! second argument
2018-05-24 20:08:10 +02:00
Esteban Küber
f36c643d4f
Fix impl Trait suggestion
2018-05-24 10:01:13 -07:00
bors
07465222ca
Auto merge of #50909 - oli-obk:unstable_const_fn_promotion, r=eddyb
...
Enforce stability of const fn in promoteds
r? @eddyb
fixes #50901
what's going on here? Why do we have two promoted computation algorithms?
2018-05-24 16:43:22 +00:00
Niko Matsakis
8fd316f5b5
pacify the mercilous tidy
2018-05-24 12:01:28 -04:00
Niko Matsakis
3b1a170914
extend the crate whitelist to include rustc-hash, chalk
2018-05-24 12:01:27 -04:00
Niko Matsakis
9c548bf26d
get rustc_hash
from external crate
2018-05-24 12:01:27 -04:00
Niko Matsakis
6f425a9201
implement the chalk traits, albeit with many placeholders
2018-05-24 12:01:27 -04:00
Oliver Schneider
a11f7856f4
Always mark unstable const fn as not const
2018-05-24 17:22:31 +02:00
Oliver Schneider
383a5df58c
Enforce stability of const fn in promoteds
2018-05-24 17:22:31 +02:00
Oliver Schneider
dcbe09e2b5
Don't ICE if crate has no valid crate types left
2018-05-24 17:05:16 +02:00
bors
a41dd6fce2
Auto merge of #50930 - toidiu:ak-ordOutlivesPredicate, r=nikomatsakis
...
implement Ord for OutlivesPredicate and other types
It became necessary while implementing https://github.com/rust-lang/rust/pull/50070 to have `Ord` implemented for `OutlivesPredicate`.
This PR implements `Ord` for `OutlivesPredicate` as well as other types needed for the implementation.
2018-05-24 14:30:58 +00:00
gnzlbg
de60483e6d
more reverts
2018-05-24 16:22:58 +02:00
gnzlbg
ac6cf04468
rever tool changes
2018-05-24 16:21:23 +02:00
gnzlbg
1a5bc39b1c
add comment explaining ignore android
2018-05-24 16:08:27 +02:00
gnzlbg
9477a6bcc0
just ignore android
2018-05-24 16:08:27 +02:00
gnzlbg
7bbbc79c48
ignore arm-android
2018-05-24 16:04:39 +02:00
gnzlbg
c803ee455b
refactor
2018-05-24 16:04:39 +02:00
gnzlbg
3b28ad654c
force more builds
2018-05-24 16:04:39 +02:00
gnzlbg
1bd9573c1f
enable fast-math flags
2018-05-24 16:04:39 +02:00
gnzlbg
180342df0b
add gather/scatter tests for pointers of pointers
2018-05-24 16:04:39 +02:00
gnzlbg
1ffc30a459
add gather/scatter run-time test
2018-05-24 16:04:39 +02:00
gnzlbg
2809b0155a
add run-time test and missing codegen test
2018-05-24 16:04:39 +02:00
gnzlbg
7a6a23d818
fix tidy
2018-05-24 16:04:39 +02:00
gnzlbg
f8f204c0bf
add simd float intrinsics and gather/scatter
2018-05-24 16:04:39 +02:00
gnzlbg
729c22e797
move simd-minmax-test to run-pass; require llvm 7
2018-05-24 16:04:38 +02:00
Oliver Schneider
6a0806b75a
Remove unused lowering field and method
2018-05-24 14:57:03 +02:00
Nicolas Koch
3f392abdfb
Implement suggestions from the PR
...
- Move loading of atomic bool outside the loop
- Add comment about TryFrom for future improvement
2018-05-24 14:51:59 +02:00
Tobias Bucher
2a900e2b84
Update the Once
docs to use Once::new
2018-05-24 14:09:42 +02:00
Tobias Bucher
1c2abda671
Add Once::new
as a way of constructing a Once
2018-05-24 14:08:47 +02:00