File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ pub unsafe fn sym_static() {
9696 asm ! ( "adr x0, {}" , sym extern_static) ;
9797}
9898
99+ // Regression test for #75761
100+ // CHECK-LABEL: issue_75761:
101+ // CHECK: str {{.*}}x30
102+ // CHECK: //APP
103+ // CHECK: //NO_APP
104+ // CHECK: ldr {{.*}}x30
105+ #[ no_mangle]
106+ pub unsafe fn issue_75761 ( ) {
107+ asm ! ( "" , out( "v0" ) _, out( "x30" ) _) ;
108+ }
109+
99110macro_rules! check {
100111 ( $func: ident $ty: ident $class: ident $mov: literal $modifier: literal) => {
101112 #[ no_mangle]
@@ -553,13 +564,3 @@ check_reg!(v0_f32x4 f32x4 "s0" "fmov");
553564// CHECK: fmov s0, s0
554565// CHECK: //NO_APP
555566check_reg ! ( v0_f64x2 f64x2 "s0" "fmov" ) ;
556-
557- // Regression test for #75761
558- // CHECK-LABEL: issue_75761:
559- // CHECK: stp {{{.*}}}lr
560- // CHECK: //APP
561- // CHECK: //NO_APP
562- // CHECK: ldp {{{.*}}}lr
563- pub unsafe fn issue_75761 ( ) {
564- asm ! ( "" , out( "v0" ) _, out( "x30" ) _) ;
565- }
You can’t perform that action at this time.
0 commit comments