about summary refs log tree commit diff
path: root/src/test/codegen/uninit-consts.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-55/+0
2022-12-06Fix failing codegen tests on s390xUlrich Weigand-1/+1
Several codegen tests are currently failing due to making assumptions that are not valid for the s390x architecture: - catch-unwind.rs: fails due to inlining differences. Already ignored on another platform for the same reason. Solution: Ignore on s390x. - remap_path_prefix/main.rs: fails due to different alignment requirement for string constants. Solution: Do not test for the alignment requirement. - repr-transparent-aggregates-1.rs: many ABI assumptions. Already ignored on many platforms for the same reason. Solution: Ignore on s390x. - repr-transparent.rs: no vector ABI by default on s390x. Already ignored on another platform for a similar reason. Solution: Ignore on s390x. - uninit-consts.rs: hard-coded little-endian constant. Solution: Match both little- and big-endian versions. Fixes part of https://github.com/rust-lang/rust/issues/105383.
2022-05-25Update some codegen tests for opaque pointersNikita Popov-4/+4
2022-02-20limit tests to llvm 14+Erik Desjardins-0/+1
2022-02-19reduce default uninit_const_chunk_threshold to 16 (from 256)Erik Desjardins-2/+2
2022-02-19switch to limiting the number of init/uninit chunksErik Desjardins-1/+2
2022-02-18Use undef for partially-uninit constants up to 1024 bytesErik Desjardins-2/+15
There needs to be some limit to avoid perf regressions on large arrays with undef in each element (see comment in the code).
2021-08-25don't generate partially-undef constsErik Desjardins-13/+2
2021-08-25use undef for uninitialized bytes in constantsErik Desjardins-0/+51