File tree 15 files changed +74
-184
lines changed
15 files changed +74
-184
lines changed Original file line number Diff line number Diff line change 2
2
// entry point. It must match C's `int main(int, char **)`.
3
3
4
4
// This test is for targets with 16bit c_int only.
5
- // ignore-aarch64
6
- // ignore-arm
7
- // ignore-asmjs
8
- // ignore-hexagon
9
- // ignore-mips
10
- // ignore-mips64
11
- // ignore-powerpc
12
- // ignore-powerpc64
13
- // ignore-riscv64
14
- // ignore-s390x
15
- // ignore-sparc
16
- // ignore-sparc64
17
- // ignore-wasm32
18
- // ignore-x86
19
- // ignore-x86_64
20
- // ignore-loongarch64
5
+ // revisions: avr msp
6
+ //[avr] only-avr
7
+ //[msp] only-msp430
8
+
21
9
22
10
fn main ( ) {
23
11
}
Original file line number Diff line number Diff line change 1
- // ignore-aarch64
2
- // ignore-arm
3
- // ignore-avr
4
- // ignore-bpf
5
- // ignore-bpf
6
- // ignore-hexagon
7
- // ignore-mips
8
- // ignore-mips64
9
- // ignore-msp430
10
- // ignore-powerpc64
11
- // ignore-powerpc
12
- // ignore-sparc
13
- // ignore-sparc64
14
- // ignore-s390x
15
- // ignore-thumb
16
- // ignore-nvptx64
17
- // ignore-spirv
18
- // ignore-wasm32
19
- // ignore-wasm64
20
- // ignore-emscripten
21
- // ignore-loongarch64
1
+ // revisions: x32 x64
2
+ //[x32] only-x86
3
+ //[x64] only-x86_64
22
4
// compile-flags: -C no-prepopulate-passes
23
5
24
6
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 1
- // ignore-aarch64
2
- // ignore-arm
3
- // ignore-avr
4
- // ignore-bpf
5
- // ignore-bpf
6
- // ignore-hexagon
7
- // ignore-mips
8
- // ignore-mips64
9
- // ignore-msp430
10
- // ignore-powerpc64
11
- // ignore-powerpc
12
- // ignore-sparc
13
- // ignore-sparc64
14
- // ignore-s390x
15
- // ignore-thumb
16
- // ignore-nvptx64
17
- // ignore-spirv
18
- // ignore-wasm32
19
- // ignore-wasm64
20
- // ignore-emscripten
21
- // ignore-loongarch64
1
+ // revisions: x32 x64
2
+ //[x32] only-x86
3
+ //[x64] only-x86_64
22
4
// compile-flags: -C no-prepopulate-passes
23
5
24
6
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change 1
- // ignore-aarch64
2
- // ignore-arm
3
- // ignore-avr
4
- // ignore-bpf
5
- // ignore-bpf
6
- // ignore-hexagon
7
- // ignore-mips
8
- // ignore-mips64
9
- // ignore-msp430
10
- // ignore-powerpc64
11
- // ignore-powerpc
12
- // ignore-sparc
13
- // ignore-sparc64
14
- // ignore-s390x
15
- // ignore-thumb
16
- // ignore-nvptx64
17
- // ignore-spirv
18
- // ignore-wasm32
19
- // ignore-wasm64
20
- // ignore-emscripten
21
- // ignore-loongarch64
1
+ // revisions: x32 x64
2
+ //[x32] only-x86
3
+ //[x64] only-x86_64
22
4
// compile-flags: -C no-prepopulate-passes
23
5
24
6
#![ crate_type = "lib" ]
Original file line number Diff line number Diff line change
1
+ // revisions: arm mips thumb wasm32
1
2
// compile-flags: -C no-prepopulate-passes
2
3
//
3
-
4
- // ignore-aarch64
4
+ //[arm] only-arm
5
+ //[mips] only-mips
6
+ //[thumb] only-thumb
7
+ //[wasm32] only-wasm32
5
8
// ignore-emscripten
6
- // ignore-mips64
7
- // ignore-powerpc
8
- // ignore-powerpc64
9
- // ignore-riscv64 see codegen/riscv-abi
10
- // ignore-s390x
11
- // ignore-sparc
12
- // ignore-sparc64
13
- // ignore-x86
14
- // ignore-x86_64
15
- // ignore-loongarch64
16
- // See repr-transparent.rs
9
+ // See ./transparent.rs
10
+ // Some platforms pass large aggregates using immediate arrays in LLVMIR
11
+ // Other platforms pass large aggregates using struct pointer in LLVMIR
12
+ // This covers the "immediate array" case.
17
13
18
14
#![ feature( transparent_unions) ]
19
15
Original file line number Diff line number Diff line change 2
2
//
3
3
4
4
// only-mips64
5
- // See repr- transparent.rs
5
+ // See ./ transparent.rs
6
6
7
7
#![ feature( transparent_unions) ]
8
8
Original file line number Diff line number Diff line change
1
+ // revisions: x32 x64 sparc sparc64
1
2
// compile-flags: -O -C no-prepopulate-passes
2
3
//
3
-
4
- // ignore-arm
5
- // ignore-aarch64
6
- // ignore-mips
7
- // ignore-mips64
8
- // ignore-powerpc
9
- // ignore-powerpc64
10
- // ignore-riscv64 see codegen/riscv-abi
11
- // ignore-s390x
4
+ //[x32] only-x86
5
+ //[x64] only-x86_64
6
+ //[sparc] only-sparc
7
+ //[sparc64] only-sparc64
12
8
// ignore-windows
13
- // ignore-loongarch64
14
- // ignore-wasm32-bare
15
- // See repr-transparent.rs
9
+ // See ./transparent.rs
10
+ // Some platforms pass large aggregates using immediate arrays in LLVMIR
11
+ // Other platforms pass large aggregates using struct pointer in LLVMIR
12
+ // This covers the "struct pointer" case.
13
+
16
14
17
15
#![ feature( transparent_unions) ]
18
16
Original file line number Diff line number Diff line change 1
1
// compile-flags: -O -C no-prepopulate-passes
2
-
3
2
// ignore-riscv64 riscv64 has an i128 type used with test_Vector
4
- // see codegen/riscv-abi for riscv functiona call tests
5
3
// ignore-s390x s390x with default march passes vector types per reference
6
4
// ignore-loongarch64 see codegen/loongarch-abi for loongarch function call tests
7
5
6
+ // This codegen test embeds assumptions about how certain "C" psABIs are handled
7
+ // so it doesn't apply to all architectures or even all OS
8
+ // For RISCV: see codegen/riscv-abi
9
+ // For LoongArch: see codegen/loongarch-abi
10
+
8
11
#![ crate_type="lib" ]
9
12
#![ feature( repr_simd, transparent_unions) ]
10
13
@@ -159,7 +162,7 @@ pub union UnionF32WithZsts {
159
162
pub extern "C" fn test_UnionF32WithZsts ( _: UnionF32WithZsts ) -> UnionF32WithZsts { loop { } }
160
163
161
164
162
- // All that remains to be tested are aggregates. They are tested in separate files called repr-
165
+ // All that remains to be tested are aggregates. They are tested in separate files called
163
166
// transparent-*.rs with `only-*` or `ignore-*` directives, because the expected LLVM IR
164
167
// function signatures vary so much that it's not reasonably possible to cover all of them with a
165
168
// single CHECK line.
Original file line number Diff line number Diff line change 1
1
// compile-flags:-g
2
+ // revisions: macos windows
2
3
// We can't set the main thread name on Linux because it renames the process (#97191)
3
- // ignore-linux
4
- // ignore-android
5
- // ignore-dragonfly
6
- // ignore-emscripten
7
- // ignore-freebsd
8
- // ignore-haiku
9
- // ignore-ios
10
- // ignore-netbsd
11
- // ignore-openbsd
12
- // ignore-solaris
4
+ //[macos] only-macos
5
+ //[windows] only-windows
13
6
// ignore-sgx
14
7
// ignore-windows-gnu
15
8
Original file line number Diff line number Diff line change
1
+ // revisions: x32 x64
1
2
// run-pass
2
- // ignore-arm
3
- // ignore-aarch64
4
- // ignore-mips
5
- // ignore-mips64
6
- // ignore-sparc
7
- // ignore-sparc64
8
- // ignore-loongarch64
9
- // ignore-wasm
10
- // ignore-emscripten no processes
3
+ //[x32] only-x86
4
+ //[x64] only-x86_64
11
5
// ignore-sgx no processes
12
6
// ignore-musl FIXME #31506
13
7
// ignore-fuchsia no exception handler registered for segfault
Original file line number Diff line number Diff line change
1
+ // revisions: x32 x64
1
2
// run-pass
2
- // ignore-arm
3
- // ignore-aarch64
4
- // ignore-mips
5
- // ignore-mips64
6
- // ignore-sparc
7
- // ignore-sparc64
8
- // ignore-loongarch64
9
- // ignore-wasm
3
+ //[x32] only-x86
4
+ //[x64] only-x86_64
10
5
// ignore-emscripten no processes
11
6
// ignore-sgx no processes
12
7
// ignore-fuchsia no exception handler registered for segfault
Original file line number Diff line number Diff line change 1
- // ignore-arm
2
- // ignore-aarch64
3
- // ignore-wasm
4
- // ignore-emscripten
5
- // ignore-mips
6
- // ignore-mips64
7
- // ignore-powerpc
8
- // ignore-powerpc64
9
- // ignore-riscv64
10
- // ignore-sparc
11
- // ignore-sparc64
12
- // ignore-s390x
13
- // ignore-loongarch64
1
+ // only-x86_64
2
+ //
14
3
// gate-test-sse4a_target_feature
15
4
// gate-test-powerpc_target_feature
16
5
// gate-test-avx512_target_feature
Original file line number Diff line number Diff line change 1
1
error[E0658]: the target feature `avx512bw` is currently unstable
2
- --> $DIR/gate.rs:32 :18
2
+ --> $DIR/gate.rs:21 :18
3
3
|
4
4
LL | #[target_feature(enable = "avx512bw")]
5
5
| ^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 1
- // ignore-arm
2
- // ignore-aarch64
3
- // ignore-wasm
4
- // ignore-emscripten
5
- // ignore-mips
6
- // ignore-mips64
7
- // ignore-powerpc
8
- // ignore-powerpc64
9
- // ignore-riscv64
10
- // ignore-s390x
11
- // ignore-sparc
12
- // ignore-sparc64
13
- // ignore-loongarch64
1
+ // only-x86_64
14
2
15
3
#![ warn( unused_attributes) ]
16
4
You can’t perform that action at this time.
0 commit comments