about summary refs log tree commit diff
path: root/tests/mir-opt/inline
AgeCommit message (Expand)AuthorLines
2024-06-03rustfmt `tests/mir-opt`.Nicholas Nethercote-12/+19
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-1/+3
2024-05-25Simplify the `unchecked_sh[lr]` ub-checks a bitScott McMurray-4/+4
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-12/+92
2024-05-06Avoid a cast in `ptr::slice_from_raw_parts(_mut)`Scott McMurray-10/+46
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-23/+24
2024-04-20mir-opt tests: rename unit-test -> test-mir-passRalf Jung-3/+3
2024-04-18Ensure `[rust] debuginfo-level-std` doesn't change core's MIRScott McMurray-0/+2
2024-04-18At debuginfo=0, don't inline debuginfo when inliningScott McMurray-44/+18
2024-04-03Remove MIR unsafe checkMatthew Jasper-82/+34
2024-04-02Update tests/mir-opt/inline/unchecked_shifts.rsscottmcm-1/+1
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-328/+11
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-22/+4
2024-03-23Auto merge of #122629 - RalfJung:assert-unsafe-precondition, r=saethlinbors-4/+20
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-4/+20
2024-03-22Enable more mir-opt tests in debug buildsBen Kimock-3/+1
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-6/+6
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-4/+4
2024-02-25Auto merge of #121114 - Nilstrieb:no-inline!, r=saethlinbors-0/+83
2024-02-24Add `#[rustc_no_mir_inline]` for standard library UB checksNilstrieb-0/+83
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-35/+35
2024-02-12Start blocks eagerlyNadrieril-12/+12
2024-02-08Bless/fix testsBen Kimock-73/+87
2024-02-06Use a better set of targets for blessing mir-opt testsBen Kimock-53/+13
2024-01-16Rename `pointer` field on `Pin`LegionMammal978-2/+2
2024-01-11Sandwich MIR optimizations between DSE.Camille GILLOT-6/+6
2024-01-04Rollup merge of #119325 - RalfJung:custom-mir, r=compiler-errorsMatthias Krüger-1/+1
2023-12-30Update to bitflags 2 in the compilerNilstrieb-1/+1
2023-12-26custom mir: make it clear what the return block isRalf Jung-1/+1
2023-12-24Enable GVN by default.Camille GILLOT-2/+2
2023-12-11End locals' live range before suspending coroutineTomasz Miąsko-0/+2
2023-11-20Fix insertion of statements to be executed along return edge in inliningTomasz Miąsko-533/+135
2023-11-01Auto merge of #117029 - rmehri01:mir_opt_filecheck_inline_tests, r=cjgillotbors-51/+156
2023-11-01fix spans for inline_couroutine panic-abortRyan Mehri-11/+11
2023-11-01Rollup merge of #115626 - clarfonthey:unchecked-math, r=thomccMatthias Krüger-1/+1
2023-10-31change inline_retag to after.mirRyan Mehri-66/+60
2023-10-31Only emit `!=` assumptions if the otherwise target is reachable.Camille GILLOT-32/+12
2023-10-31Simplify assume of a constant.Camille GILLOT-70/+56
2023-10-31Replace SwitchInt to unreachable by an assumption.Camille GILLOT-16/+44
2023-10-25address review commentsRyan Mehri-70/+100
2023-10-25FileCheck unwrap_uncheckedRyan Mehri-1/+2
2023-10-25FileCheck unsized_argumentRyan Mehri-1/+2
2023-10-25FileCheck unchecked_shiftsRyan Mehri-1/+8
2023-10-25FileCheck issue_78442Ryan Mehri-1/+5
2023-10-25FileCheck inline_scopes_parentingRyan Mehri-4/+8
2023-10-25FileCheck inline_as_ref_as_mutRyan Mehri-1/+8
2023-10-25FileCheck inline_trait_methodRyan Mehri-1/+2
2023-10-25FileCheck inline_trait_method_2Ryan Mehri-1/+3
2023-10-25FileCheck inline_specializationRyan Mehri-1/+2
2023-10-25FileCheck inline_retagRyan Mehri-1/+2