about summary refs log tree commit diff
path: root/src/test/mir-opt/remove_fake_borrows.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-15/+0
2022-12-17Rename CleanupNonCodegenStatements to CleanupPostBorrowckTomasz Miąsko-1/+1
2020-07-29add crate name to mir dumpsXavier Denis-1/+1
2020-04-07--bless all mir-opt tests.Ana-Maria Mihalache-94/+1
2020-03-17Update tests for erasing regions in typeckMatthew Jasper-5/+5
2020-02-01Update existing tests for or-patternsMatthew Jasper-12/+12
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-1/+1
Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests.
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-1/+1
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-05Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, ↵Tyler Mandry-1/+1
r=alexcrichton" This reverts commit 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91, reversing changes made to 2e7244807a7878f6eca3eb7d97ae9b413aa49014.
2019-10-04Fix ABI, run and fix more tests, re-enable CI for PRsThomas Lively-1/+1
2019-06-25Add StorageDead statements for `while` conditionsMatthew Jasper-8/+8
2019-06-13Create fewer basic blocks in match MIR loweringMatthew Jasper-34/+22
2019-05-21Give match arms a drop/region scopeMatthew Jasper-24/+26
Also give arms the correct lint scope in MIR.
2019-05-12Remove feature(nll) when compare mode is sufficientMatthew Jasper-2/+0
2019-03-03Check which blocks are cleanup in mir-opt testsMatthew Jasper-2/+2
2019-02-21Move the exit block of the match to the endMatthew Jasper-22/+22
2019-02-21Simplify the cleanup_post_borrowck passesMatthew Jasper-5/+5
2019-02-21Clean up MIR match loweringMatthew Jasper-50/+48
* Adjust fake borrows to only be live over guards. * Remove unused `slice_len_checked` field. * Split the methods on builder into those for matches and those for all kinds of pattern bindings.
2018-09-24Add a MIR transform to remove fake readsMatthew Jasper-0/+122
As we are now creating borrows of places that may not be valid for borrow checking matches, these have to be removed to avoid generating broken code.