summary refs log tree commit diff
path: root/tests/mir-opt/const_prop
AgeCommit message (Expand)AuthorLines
2023-11-30Rename and add another testAlona Enraght-Moony-2/+8
2023-11-30ConstProp: Remove const when rvalue check fails.Alona Enraght-Moony-2/+1
2023-11-30Precommit test for https://github.com/rust-lang/rust/issues/118328.Alona Enraght-Moony-0/+41
2023-11-05Auto merge of #117537 - GKFX:offset-of-enum-feature, r=cjgillotbors-1/+1
2023-11-05Auto merge of #117469 - cjgillot:filecheck-mir, r=Mark-Simulacrumbors-0/+117
2023-11-03Feature gate enums in offset_ofGeorge Bateman-1/+1
2023-10-31Update MIR tests for offset_ofGeorge Bateman-28/+28
2023-10-31Support enum variants in offset_of!George Bateman-16/+213
2023-10-31FileCheck const_prop_miscompile.Camille GILLOT-0/+117
2023-10-24Use `PlaceMention` for match scrutinees.Camille GILLOT-0/+6
2023-10-19FileCheck transmute.Camille GILLOT-1/+22
2023-10-19Allow to run filecheck in mir-opt tests.Camille GILLOT-0/+39
2023-10-16Normalize alloc-id in tests.Camille GILLOT-35/+35
2023-10-04Remove mir::LocalDecl::internal.Camille GILLOT-0/+4
2023-09-14fix clippy (and MIR printing) handling of ConstValue::Indirect slicesRalf Jung-5/+5
2023-09-14bless allRalf Jung-0/+120
2023-09-06Support array length.Camille GILLOT-16/+13
2023-08-25Remove some wasm/emscripten ignoresBen Kimock-2/+0
2023-07-20Propagate ScalarPair for any type.Camille GILLOT-8/+14
2023-07-20Also propagate ScalarPair operands.Camille GILLOT-6/+12
2023-07-20Always propagate into operands.Camille GILLOT-49/+68
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-9/+9
2023-06-23Bless testsGary Guo-60/+60
2023-06-21Warn on unused offset_of!() resultChayim Refael Friedman-84/+281
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-2295/+2118
2023-06-12bless mir-optPietro Albini-0/+1304
2023-06-12properly mark tests that require panic=abortPietro Albini-22/+22
2023-05-19Drive-by-cleanup: Don't emit `thir::ExprKind::NeverToAny` for `! -> !`Maybe Waffle-82/+52
2023-05-09Rollup merge of #110694 - est31:builtin, r=petrochenkovDylan DPC-12/+12
2023-05-08Auto merge of #110824 - cjgillot:const-prop-index, r=JakobDegen,oli-obkbors-4/+8
2023-05-08Auto merge of #111309 - saethlin:InstSimplify, r=scottmcmbors-1/+1
2023-05-07Propagate PlaceElem::Index.Camille GILLOT-4/+8
2023-05-06Rename InstCombine to InstSimplifyBen Kimock-1/+1
2023-05-06Rollup merge of #111077 - cjgillot:const-prop-unit, r=Mark-SimulacrumMatthias Krüger-79/+226
2023-05-05Migrate offset_of from a macro to builtin # syntaxest31-12/+12
2023-05-04Reject borrows of projections in ConstProp.Camille GILLOT-10/+5
2023-05-04Add tests.Camille GILLOT-0/+68
2023-05-02Make ConstProp tests unit.Camille GILLOT-79/+226
2023-05-02Auto merge of #109521 - tmiasko:const-prop-validation, r=wesleywiserbors-5/+236
2023-04-30Rollup merge of #110732 - cjgillot:unit-const-prop, r=tmiaskoMatthias Krüger-75/+79
2023-04-27Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt testTomasz Miąsko-0/+217
2023-04-27Remove workaround for CastKind::Transmute from const propTomasz Miąsko-5/+19
2023-04-23Make some tests unit.Camille GILLOT-75/+79
2023-04-23Add mir-opt tests to track MIR quality.Camille GILLOT-351/+0
2023-04-22Turn on ConstDebugInfo pass.Wesley Wiser-40/+12
2023-04-21test improvementsDrMeepster-22/+85
2023-04-21offset_ofDrMeepster-0/+68
2023-04-06Ignore many tests on wasm32Gary Guo-19/+41
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+262
2023-03-13Generalize operation.Camille GILLOT-15/+12