about summary refs log tree commit diff
path: root/src/test/codegen/union-abi.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-76/+0
2022-05-25Update some codegen tests for opaque pointersNikita Popov-5/+5
2022-03-03Revert #26494 regressionVin Singh-8/+3
2022-02-25make tests work on noopt builderErik Desjardins-1/+1
2022-02-05Apply noundef attribute to &T, &mut T, Box<T>, boolErik Desjardins-1/+1
This doesn't handle `char` because it's a bit awkward to distinguish it from u32 at this point in codegen. Note that for some types (like `&Struct` and `&mut Struct`), we already apply `dereferenceable`, which implies `noundef`, so the IR does not change.
2020-11-29Pass arguments up to 2*usize by valueErik Desjardins-3/+8
2020-01-07Update codegen tests with unnamed argumentsNikita Popov-1/+1
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-0/+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/+0
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-0/+1
2019-09-13codegen: use "_N" (like for other locals) instead of "argN", for argument names.Eduard-Mihai Burtescu-8/+8
2019-04-22Remove double trailing newlinesvarkor-1/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-20Fix invalid bitcast taking bool out of a union represented as a scalarOlivier Goffart-0/+6
As reported in https://github.com/rust-lang/rust/pull/54668#issuecomment-440186476
2018-11-14Remove extern and some return value as an attempt to make the test pass on ↵Olivier Goffart-7/+7
more platforms
2018-11-13Forward the ABI of the non-zero sized fields of an union if they have the ↵Olivier Goffart-0/+80
same ABI This is supposed to fix the performence regression of using MaybeUninit in https://github.com/rust-lang/rust/pull/54668