diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2023-07-29 14:57:53 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2023-07-29 15:49:07 -0700 |
| commit | 20ebbf467d5bc6eca39ca014c4258aa6835b18db (patch) | |
| tree | 8ee9c2a2e7fbb374a850742ce90e60ebab770e6c /tests/codegen/repr/transparent-imm-array.rs | |
| parent | 040bc3447e3d43ce79dee8420f4ab05d6aa3a8c7 (diff) | |
| download | rust-20ebbf467d5bc6eca39ca014c4258aa6835b18db.tar.gz rust-20ebbf467d5bc6eca39ca014c4258aa6835b18db.zip | |
Replace ignore-everything with only-arch
Combining revisions with only-arch allows specifying that a test only applies to a handful of targets. This allows removing a large amount of repetition in the test suite for tests that do not benefit. The revisions are suboptimal for this for some tests, so they aren't preferred in those cases.
Diffstat (limited to 'tests/codegen/repr/transparent-imm-array.rs')
| -rw-r--r-- | tests/codegen/repr/transparent-imm-array.rs | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/tests/codegen/repr/transparent-imm-array.rs b/tests/codegen/repr/transparent-imm-array.rs index 33f4f222b0a..6d712778509 100644 --- a/tests/codegen/repr/transparent-imm-array.rs +++ b/tests/codegen/repr/transparent-imm-array.rs @@ -1,19 +1,15 @@ +// revisions: arm mips thumb wasm32 // compile-flags: -C no-prepopulate-passes // - -// ignore-aarch64 +//[arm] only-arm +//[mips] only-mips +//[thumb] only-thumb +//[wasm32] only-wasm32 // ignore-emscripten -// ignore-mips64 -// ignore-powerpc -// ignore-powerpc64 -// ignore-riscv64 see codegen/riscv-abi -// ignore-s390x -// ignore-sparc -// ignore-sparc64 -// ignore-x86 -// ignore-x86_64 -// ignore-loongarch64 -// See repr-transparent.rs +// See ./transparent.rs +// Some platforms pass large aggregates using immediate arrays in LLVMIR +// Other platforms pass large aggregates using struct pointer in LLVMIR +// This covers the "immediate array" case. #![feature(transparent_unions)] |
