about summary refs log tree commit diff
path: root/tests/incremental
AgeCommit message (Collapse)AuthorLines
2023-12-19rustc_codegen_ssa: Don't let `IncorrectCguReuseType` errors get lostMartin Nordholts-10/+14
In [100753], `IncorrectCguReuseType` accidentally stopped being emitted. Begin emitting it again rather than just blindly dropping it, and adjust tests accordingly. [100753]: https://github.com/rust-lang/rust/pull/100753/commits/706452eba74026c51e8d0fa30aee2497c69eafc0#diff-048389738ddcbe0f9765291a29db1fed9a5f03693d4781cfb5aaa97ffb3c7f84
2023-12-12tests: CGU tests require build-pass, not check-pass (remove FIXME)Martin Nordholts-3/+3
CGU tests require CGU code to be exercised. We can't merely do "cargo check" on these tests.
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc.
2023-10-28Remove asmjs from testsJubilee Young-5/+0
2023-10-06Bless incremental tests.Camille GILLOT-10/+10
2023-09-29Rollup merge of #116263 - ferrocene:pa-more-bare-metal-fixes, r=oli-obkMatthias Krüger-0/+1
More fixes for running the test suite on a bare metal target This PR adds more fixes needed to run the test suite on bare metal targets (in this case, without unwinding and with static relocations). There is no CI job exercising tests without unwinds, but I can confirm this worked in Ferrocene's CI.
2023-09-29mark relevant tests as requiring unwindingPietro Albini-0/+1
2023-09-28Unconditionally run `RevealAll` pass and run it earlierOli Scherer-1/+1
2023-08-03Forbid old-style `simd_shuffleN` intrinsicsOli Scherer-3/+3
2023-07-16Querify unused trait check.Camille GILLOT-2/+2
2023-07-10Bless incremental test.Camille GILLOT-1/+1
2023-06-01Implement custom diagnostic for ConstParamTyMichael Goulet-4/+39
2023-06-01Auto merge of #112002 - saethlin:enable-sroa, r=oli-obk,scottmcmbors-1/+2
Enable ScalarReplacementOfAggregates in optimized builds Like MatchBranchSimplification, this pass is known to produce significant runtime improvements in Cranelift artifacts, and I believe based on the perf runs here that the primary effect of this pass is to empower MatchBranchSimplification. ScalarReplacementOfAggregates on its own has little effect on anything, but when this was rebased up to include https://github.com/rust-lang/rust/pull/112001 we started seeing significant and majority-positive results. Based on the fact that we see most of the regressions in debug builds (https://github.com/rust-lang/rust/pull/112002#issuecomment-1566270144) and some rather significant ones in cycles and wall time, I'm only enabling this in optimized builds at the moment.
2023-05-31Enable ScalarReplacementOfAggregatesBen Kimock-1/+2
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-10/+3
2023-05-29Add a test for issue 110457Maybe Waffle-0/+137
2023-05-17Delay a bug when overwriting fed value.Camille GILLOT-0/+1
2023-05-17Add incremental test.Camille GILLOT-0/+16
2023-05-02Add needs-unwind annotations to tests that need stack unwindingbjorn3-0/+2
2023-04-22Turn on ConstDebugInfo pass.Wesley Wiser-8/+8
2023-04-20Add incremental tests.Camille GILLOT-0/+97
2023-04-04incr.comp.: Make sure dependencies are recorded when feeding queries during ↵Michael Woerister-0/+16
eval-always queries.
2023-03-19Rollup merge of #105793 - lukas-code:circular-deps, r=Mark-SimulacrumDylan DPC-0/+47
Add note for mismatched types because of circular dependencies If you have crate A with a dependency on crate B, and crate B with a dev-dependency on A, then you might see "mismatched types" errors on types that seem to be equal. This PR adds a note that explains that the types are different, because crate B is compiled twice, one time with `cfg(test)` and one time without. I haven't found a good way to create circular dependencies in UI tests, so I abused the incremental tests instead. As a bonus, incremental tests support "cpass" now. related to https://github.com/rust-lang/rust/issues/22750
2023-03-14Bless incremental test.Camille GILLOT-2/+2
2023-03-05Add note for mismatched types with circular dependenciesLukas Markeffsky-0/+47
2023-01-11Move /src/test to /testsAlbert Larsan-0/+13563