about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop
AgeCommit message (Expand)AuthorLines
2020-05-02Added MIR constant propagation of Scalars into function call argumentsFélix Fischer-3/+10
2020-04-28Added MIR const-prop diff tests to show why some assertions now fail at compi...Félix Fischer-0/+421
2020-04-28Allow Locals to be propagated into and from, but restricted to their own blockFélix Fischer-2/+22
2020-04-27Added regression test for literal propagation and for scalar pair propagationFélix Fischer-0/+121
2020-04-27Emit basic block ids for statements and terminators in MIR only in -Zverbose ...Oliver Scherer-486/+476
2020-04-23Add leading 0x to offset in Debug fmt of PointerDavid Cook-6/+6
2020-04-17ty/print: pretty-print constant aggregates (arrays, tuples and ADTs).Eduard-Mihai Burtescu-2/+2
2020-04-17mir: pretty-print `Rvalue::Aggregate` correctly.Eduard-Mihai Burtescu-2/+2
2020-04-15Remove other RvaluesWesley Wiser-100/+20
2020-04-14update 32 bit mir-opt testsBastian Kauschke-9/+46
2020-04-13bless mir opt testsBastian Kauschke-35/+169
2020-04-11Use write!-style syntax for MIR assert terminatorrobojumper-16/+16
2020-04-07Normalize away pairs of line:col numbers.Ana-Maria Mihalache-5/+5
2020-04-07Add EMIT_MIR_FOR_EACH_BIT_WIDTH to tests that need it.Ana-Maria Mihalache-243/+875
2020-04-07--bless more mir-opt tests.Ana-Maria Mihalache-689/+1567
2020-03-26Enable `--bless`ing of MIR dumpsOliver Scherer-44/+50
2020-03-21Resolve worsened debug build codegenWesley Wiser-0/+64
2020-03-11Print leading zeros for non pointersOliver Scherer-1/+1
2020-03-11Don't print leading zeros on hex dumps constantsOliver Scherer-1/+1
2020-03-11Deduplicate and clean up pretty printing logicOliver Scherer-4/+4
2020-02-01Update existing tests for or-patternsMatthew Jasper-10/+10
2020-01-24Render const pointers in MIR more compactlyOliver Scherer-2/+2
2020-01-12Turn off const propagation of ref takingWesley Wiser-2/+2
2020-01-10Add regression tests for promotion mir expansionOliver Scherer-0/+59
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-4/+8
2019-12-30Lint overflowing integer casts in const propWesley Wiser-0/+49
2019-12-20Rollup merge of #67130 - wesleywiser:const_prop_into_locals, r=oli-obkMazdak Farrokhzad-4/+153
2019-12-18Start generating AddressOf rvalues in MIRMatthew Jasper-11/+7
2019-12-13Const prop should finish propagation into user defined variablesWesley Wiser-4/+153
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-6/+0
2019-12-09Remove `uniform_array_move_out` passesMatthew Jasper-6/+0
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-0/+72
2019-11-27Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obkbors-7/+7
2019-11-23[const prop] Fix "alloc id without corresponding allocation" ICEWesley Wiser-7/+7
2019-11-21Bless remaining test outputMatthew Jasper-5/+7
2019-11-12Bless mir-dump test.Camille GILLOT-1/+1
2019-11-08[mir-opt] Handle aggregates in SimplifyLocals passWesley Wiser-3/+0
2019-11-08[mir-opt] Handle const-prop for the return placeWesley Wiser-0/+57
2019-10-18[const-prop] Handle MIR Rvalue::BoxWesley Wiser-0/+56
2019-10-18[const-prop] Handle MIR Rvalue::DiscriminantWesley Wiser-0/+53
2019-10-18[const-prop] Handle MIR Rvalue::AggregatesWesley Wiser-0/+25
2019-10-18[const-prop] Handle MIR Rvalue::RepeatWesley Wiser-0/+37
2019-10-09Fix reify_fn_ptr test as we now pretty print const function pointers.ben-1/+1
2019-09-28Allow reading non-mutable statics in const propWesley Wiser-0/+29
2019-09-27[const-prop] Replace `Cast` handling with use of `InterpCx`Wesley Wiser-1/+1
2019-09-27[const-prop] Replace `eval_place()` with use of `InterpCx`Wesley Wiser-1/+1
2019-08-02const_prop no longer does ptr-to-int castsRalf Jung-1/+1
2019-06-13Create fewer basic blocks in match MIR loweringMatthew Jasper-4/+4
2019-06-06[const-prop] Handle Rvalue::LenWesley Wiser-18/+22
2019-06-06[const-prop] Handle ProjectionElem::DerefWesley Wiser-0/+21