summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2024-10-12mark InterpResult as must_useRalf Jung-0/+1
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-31/+30
2024-10-08coverage. MCDC ConditionId start from 0 to keep with llvm 19zhuyunxing-13/+3
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-4/+28
2024-10-05clarify semantics of ConstantIndex MIR projectionRalf Jung-2/+4
2024-10-01Rollup merge of #130885 - RalfJung:interp-error-discard, r=oli-obkJubilee-33/+220
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-88/+220
2024-10-01Replace -Z default-hidden-visibility with -Z default-visibilityDavid Lattimore-0/+11
2024-09-30panic when an interpreter error gets unintentionally discardedRalf Jung-9/+64
2024-09-28tweak Const::identity_unevaluated name and docsRalf Jung-1/+3
2024-09-28try to get rid of mir::Const::normalizeRalf Jung-12/+0
2024-09-25Auto merge of #130803 - cuviper:file-buffered, r=joshtriplettbors-2/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-2/+2
2024-09-24update doc commentLukas Markeffsky-2/+4
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-5/+14
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-1/+3
2024-09-24unify dyn* coercions with other pointer coercionsLukas Markeffsky-3/+0
2024-09-23Check vtable projections for validity in miriMichael Goulet-16/+19
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-34/+34
2024-09-21Compute reachable locals as part of non_ssa_localsBen Kimock-83/+41
2024-09-21Don't alloca for unused localsBen Kimock-8/+111
2024-09-14Auto merge of #128543 - RalfJung:const-interior-mut, r=fee1-deadbors-4/+43
2024-09-13ProjectionElem and UnOp/BinOp dont need to be PartialOrd/OrdMichael Goulet-3/+3
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-0/+3
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-21/+17
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-4/+3
2024-09-11Also fix if in elseMichael Goulet-5/+3
2024-09-11Simplify some nested if statementsMichael Goulet-16/+14
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+3
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-4/+43
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-4/+3
2024-09-08interpret: reset provenance on typed copiesRalf Jung-0/+13
2024-09-06Auto merge of #129999 - matthiaskrgr:rollup-pzr9c8p, r=matthiaskrgrbors-0/+3
2024-09-05Rollup merge of #129939 - RalfJung:rvalue-len, r=compiler-errorsMatthias Krüger-0/+3
2024-09-05Rollup merge of #129706 - compiler-errors:scratch, r=estebankMatthias Krüger-1/+3
2024-09-03Don't ICE when dumping MIR of a synthetic coroutine bodyMichael Goulet-1/+3
2024-09-03explain why Rvalue::Len still existsRalf Jung-0/+3
2024-09-03Rollup merge of #129926 - nnethercote:mv-SanityCheck-and-MirPass, r=cjgillotMatthias Krüger-62/+0
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-62/+0
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-4/+4
2024-08-31Auto merge of #129831 - matthiaskrgr:rollup-befq6zx, r=matthiaskrgrbors-1/+2
2024-08-31Rollup merge of #129684 - Strophox:miri-pass-pointer-to-ffi, r=RalfJungMatthias Krüger-1/+2
2024-08-30enable Miri to pass const pointers through FFIStrophox-1/+2
2024-08-30make `-Z mir-include-spans` a dedicated enumRémy Rakic-1/+1
2024-08-30introduce `PrettyPrintMirOptions` for cosmetic MIR dump optionsRémy Rakic-27/+89
2024-08-29Add `warn(unreachable_pub)` to `rustc_middle`.Nicholas Nethercote-5/+5
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-5/+5
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-19/+0
2024-08-25Rollup merge of #129091 - RalfJung:box_as_ptr, r=AmanieuMatthias Krüger-4/+2
2024-08-21fix comment on PlaceMention semanticsRalf Jung-1/+1