about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen
AgeCommit message (Expand)AuthorLines
2024-06-03rustfmt `tests/mir-opt`.Nicholas Nethercote-11/+7
2024-05-31Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"Camille GILLOT-329/+383
2024-05-30Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obkbors-383/+329
2024-05-29Enable DestinationPropagation by default.Camille GILLOT-383/+329
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-4/+12
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-14/+6
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-136/+36
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-8/+8
2024-05-06Avoid a cast in `ptr::slice_from_raw_parts(_mut)`Scott McMurray-66/+82
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-137/+74
2024-04-21Update tests after 123949Scott McMurray-82/+0
2024-04-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-40/+4
2024-04-21Use it in the library, and `InstSimplify` it away in the easy placesScott McMurray-18/+234
2024-04-21Add a mir-opt test for `byte_add` on pointersScott McMurray-0/+248
2024-04-21Add a MIR pre-codegen test for Vec::derefScott McMurray-0/+41
2024-04-21New slice indexing pre-codegen MIR testScott McMurray-0/+47
2024-04-20Merge borrowed locals too.Camille GILLOT-105/+73
2024-04-20GVN borrowed locals too.Camille GILLOT-66/+35
2024-04-18Make `checked` ops emit *unchecked* LLVM operations where feasibleScott McMurray-81/+27
2024-04-18Ensure `[rust] debuginfo-level-std` doesn't change core's MIRScott McMurray-156/+14
2024-04-18Update `checked_ops` so 32- and 64-bit gets the same checksScott McMurray-19/+174
2024-04-18At debuginfo=0, don't inline debuginfo when inliningScott McMurray-936/+679
2024-04-03Remove MIR unsafe checkMatthew Jasper-234/+138
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-0/+87
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-10/+1
2024-03-24Slightly simplify the `iN::partial_cmp` MIRScott McMurray-13/+5
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-105/+32
2024-03-23Add a MIR pre-codegen test for derived PartialOrdScott McMurray-0/+168
2024-03-23Auto merge of #122629 - RalfJung:assert-unsafe-precondition, r=saethlinbors-1/+5
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-1/+5
2024-03-22Enable more mir-opt tests in debug buildsBen Kimock-4/+1
2024-03-18Remove some only- clauses from mir-opt testsBen Kimock-11/+2
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-11/+11
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+1
2024-03-08Update MIR with `MirPatch` in `UninhabitedEnumBranching`DianQK-46/+46
2024-02-29Bless testr0cky-12/+12
2024-02-23Ignore less tests in debug buildsBen Kimock-3/+2
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-31/+31
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-6/+6
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-340/+24
2024-02-11Auto merge of #120405 - cjgillot:gvn-pointer, r=oli-obkbors-494/+462
2024-02-09Remove ConstGoto and SeparateConstSwitch.Camille GILLOT-0/+49
2024-02-09Enable by default.Camille GILLOT-374/+201
2024-02-09Fold consecutive PtrToPtr casts.Camille GILLOT-494/+462
2024-02-08Bless/fix testsBen Kimock-790/+783
2024-01-29raw pointer metadata API: data address -> data pointerRalf Jung-4/+4
2024-01-16Auto merge of #119954 - scottmcm:option-unwrap-failed, r=WaffleLapkinbors-4/+4
2024-01-16Auto merge of #119672 - cjgillot:dse-sandwich, r=oli-obkbors-105/+210
2024-01-16Auto merge of #119439 - cjgillot:gvn-faster, r=oli-obkbors-0/+20
2024-01-14Split out `option::unwrap_failed` like we have `result::unwrap_failed`Scott McMurray-4/+4