index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_mir
/
src
/
transform
/
promote_consts.rs
Age
Commit message (
Expand
)
Author
Lines
2021-09-07
Rename rustc_mir to rustc_const_eval.
Camille GILLOT
-1092
/
+0
2021-09-07
Move rustc_mir::borrow_check to new crate rustc_borrowck.
Camille GILLOT
-1
/
+1
2021-08-26
update `TypeFlags` to deal with missing ct substs
lcnr
-0
/
+1
2021-08-26
make unevaluated const substs optional
lcnr
-7
/
+11
2021-08-18
Remove box syntax from rustc_mir
est31
-3
/
+3
2021-06-02
Add `Ty::is_union` predicate and use it
Tomasz Miąsko
-4
/
+2
2021-05-12
entirely remove rustc_args_required_const attribute
Ralf Jung
-2
/
+2
2021-05-12
rustc_args_required_const is no longer a promotion site
Ralf Jung
-161
/
+28
2021-04-06
Use AnonConst for asm! constants
Amanieu d'Antras
-65
/
+17
2021-03-20
extract `ConstKind::Unevaluated` into a struct
lcnr
-4
/
+4
2021-03-12
Prepare mir::Constant for ty::Const only supporting valtrees
Oli Scherer
-17
/
+19
2021-03-08
Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix
bors
-1
/
+1
2021-03-05
Shrink the size of Rvalue by 16 bytes
Oli Scherer
-1
/
+1
2021-03-01
Box generator-related Body fields
Dániel Buga
-1
/
+1
2021-02-03
added a suggestion to create a `const` item if the `fn` in the array repeat e...
Henry Boisdequin
-0
/
+35
2021-01-30
Remove const_in_array_rep_expr
kadmin
-63
/
+3
2021-01-22
do promote array indexing if we know it is in-bounds
Ralf Jung
-15
/
+49
2021-01-22
avoid promoting division, modulo and indexing operations that could fail
Ralf Jung
-13
/
+39
2021-01-16
Use PlaceRef more consistently in rustc_mir
Olivia Crain
-46
/
+50
2020-12-29
fix a comment
Ralf Jung
-1
/
+1
2020-12-28
make more matches exhaustive
Ralf Jung
-20
/
+41
2020-12-28
merge two match'es for more exhaustiveness
Ralf Jung
-39
/
+41
2020-12-28
promotion: factor some common code into validate_ref
Ralf Jung
-57
/
+50
2020-12-09
remove a hack that seems to only benefit a few very special cases
Ralf Jung
-52
/
+6
2020-10-26
interning cleanup: we no longer need to distinguish Const and ConstInner; we ...
Ralf Jung
-2
/
+1
2020-10-25
Auto merge of #77526 - RalfJung:dont-promote-unions, r=lcnr
bors
-20
/
+14
2020-10-14
Create a single source scope for promoteds
Tomasz Miąsko
-3
/
+14
2020-10-04
Replace `(Body, WithOptConstParam)` with `Body` where possible
Dylan MacKenzie
-6
/
+3
2020-10-04
Replace `(Body, DefId)` with `Body` where possible
Dylan MacKenzie
-3
/
+5
2020-10-04
Remember the `MirSource` for each `Body`
Dylan MacKenzie
-5
/
+7
2020-10-04
stop promoting union field accesses in 'const'
Ralf Jung
-20
/
+14
2020-09-30
Validate `rustc_args_required_const`
varkor
-1
/
+1
2020-09-21
Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC
ecstatic-morse
-11
/
+5
2020-09-20
Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnr
Ralf Jung
-1
/
+1
2020-09-20
use if let instead of single match arm expressions to compact code and reduce...
Matthias Krüger
-11
/
+5
2020-09-19
fix some comments
Ralf Jung
-6
/
+7
2020-09-19
never promote non-const operations; revert STATIC promotion change
Ralf Jung
-4
/
+14
2020-09-19
fix doc comment
Ralf Jung
-4
/
+4
2020-09-19
cleanup promotion const_kind checks
Ralf Jung
-30
/
+28
2020-09-18
use matches!() macro for simple if let conditions
Matthias Krüger
-1
/
+1
2020-09-17
Default to implicit (not explicit) rules for promotability in `const fn`
Dylan MacKenzie
-1
/
+8
2020-09-06
do not premote non-ZST mutable references ever
Ralf Jung
-16
/
+2
2020-09-04
Change ty.kind to a method
LeSeulArtichaut
-10
/
+10
2020-08-30
mv compiler to compiler/
mark
-0
/
+1258