Skip to content

Commit d893e1f

Browse files
committed
[AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives
1 parent 98d0396 commit d893e1f

File tree

1,810 files changed

+4763
-4763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,810 files changed

+4763
-4763
lines changed

tests/assembly/aarch64-naked-fn-no-bti-prolog.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// compile-flags: -C no-prepopulate-passes -Zbranch-protection=bti
2-
// assembly-output: emit-asm
3-
// needs-asm-support
4-
// only-aarch64
1+
//@ compile-flags: -C no-prepopulate-passes -Zbranch-protection=bti
2+
//@ assembly-output: emit-asm
3+
//@ needs-asm-support
4+
//@ only-aarch64
55

66
#![crate_type = "lib"]
77
#![feature(naked_functions)]

tests/assembly/aarch64-pointer-auth.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Test that PAC instructions are emitted when branch-protection is specified.
22

3-
// assembly-output: emit-asm
4-
// compile-flags: --target aarch64-unknown-linux-gnu
5-
// compile-flags: -Z branch-protection=pac-ret,leaf
6-
// needs-llvm-components: aarch64
3+
//@ assembly-output: emit-asm
4+
//@ compile-flags: --target aarch64-unknown-linux-gnu
5+
//@ compile-flags: -Z branch-protection=pac-ret,leaf
6+
//@ needs-llvm-components: aarch64
77

88
#![feature(no_core, lang_items)]
99
#![no_std]

tests/assembly/align_offset.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: -Copt-level=1
3-
// only-x86_64
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: -Copt-level=1
3+
//@ only-x86_64
44
#![crate_type="rlib"]
55

66
// CHECK-LABEL: align_offset_byte_ptr

tests/assembly/asm/aarch64-el2vmsa.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: --target aarch64-unknown-linux-gnu
3-
// needs-llvm-components: aarch64
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: --target aarch64-unknown-linux-gnu
3+
//@ needs-llvm-components: aarch64
44

55
#![feature(no_core, lang_items, rustc_attrs)]
66
#![crate_type = "rlib"]

tests/assembly/asm/aarch64-modifiers.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: -O
3-
// compile-flags: --target aarch64-unknown-linux-gnu
4-
// needs-llvm-components: aarch64
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: -O
3+
//@ compile-flags: --target aarch64-unknown-linux-gnu
4+
//@ needs-llvm-components: aarch64
55

66
#![feature(no_core, lang_items, rustc_attrs)]
77
#![crate_type = "rlib"]

tests/assembly/asm/aarch64-outline-atomics.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: -O
3-
// compile-flags: --target aarch64-unknown-linux-gnu
4-
// needs-llvm-components: aarch64
5-
// only-aarch64
6-
// only-linux
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: -O
3+
//@ compile-flags: --target aarch64-unknown-linux-gnu
4+
//@ needs-llvm-components: aarch64
5+
//@ only-aarch64
6+
//@ only-linux
77

88
#![crate_type = "rlib"]
99

tests/assembly/asm/aarch64-types.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: --target aarch64-unknown-linux-gnu
3-
// needs-llvm-components: aarch64
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: --target aarch64-unknown-linux-gnu
3+
//@ needs-llvm-components: aarch64
44

55
#![feature(no_core, lang_items, rustc_attrs, repr_simd)]
66
#![crate_type = "rlib"]

tests/assembly/asm/arm-modifiers.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: -O
3-
// compile-flags: --target armv7-unknown-linux-gnueabihf
4-
// compile-flags: -C target-feature=+neon
5-
// needs-llvm-components: arm
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: -O
3+
//@ compile-flags: --target armv7-unknown-linux-gnueabihf
4+
//@ compile-flags: -C target-feature=+neon
5+
//@ needs-llvm-components: arm
66

77
#![feature(no_core, lang_items, rustc_attrs, repr_simd)]
88
#![crate_type = "rlib"]

tests/assembly/asm/arm-types.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: --target armv7-unknown-linux-gnueabihf
3-
// compile-flags: -C target-feature=+neon
4-
// compile-flags: -C opt-level=0
5-
// needs-llvm-components: arm
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: --target armv7-unknown-linux-gnueabihf
3+
//@ compile-flags: -C target-feature=+neon
4+
//@ compile-flags: -C opt-level=0
5+
//@ needs-llvm-components: arm
66

77
#![feature(no_core, lang_items, rustc_attrs, repr_simd)]
88
#![crate_type = "rlib"]

tests/assembly/asm/avr-modifiers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// assembly-output: emit-asm
2-
// compile-flags: --target avr-unknown-gnu-atmega328
3-
// needs-llvm-components: avr
1+
//@ assembly-output: emit-asm
2+
//@ compile-flags: --target avr-unknown-gnu-atmega328
3+
//@ needs-llvm-components: avr
44

55
#![feature(no_core, lang_items, rustc_attrs, asm_experimental_arch)]
66
#![crate_type = "rlib"]

0 commit comments

Comments
 (0)