This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1313// CHECK: decq
1414// CHECK-NEXT: testq
1515// CHECK-NEXT: sete
16- // CHECK-NEXT : retq
16+ // CHECK: retq
1717#[ no_mangle]
1818pub unsafe fn is_aligned_to_unchecked ( ptr : * const u8 , align : usize ) -> bool {
1919 unsafe {
@@ -24,7 +24,7 @@ pub unsafe fn is_aligned_to_unchecked(ptr: *const u8, align: usize) -> bool {
2424
2525// CHECK-LABEL: is_aligned_1
2626// CHECK: movb $1
27- // CHECK-NEXT : retq
27+ // CHECK: retq
2828#[ no_mangle]
2929pub fn is_aligned_1 ( ptr : * const u8 ) -> bool {
3030 ptr. is_aligned ( )
@@ -33,7 +33,7 @@ pub fn is_aligned_1(ptr: *const u8) -> bool {
3333// CHECK-LABEL: is_aligned_2
3434// CHECK: testb $1
3535// CHECK-NEXT: sete
36- // CHECK-NEXT : retq
36+ // CHECK: retq
3737#[ no_mangle]
3838pub fn is_aligned_2 ( ptr : * const u16 ) -> bool {
3939 ptr. is_aligned ( )
@@ -42,7 +42,7 @@ pub fn is_aligned_2(ptr: *const u16) -> bool {
4242// CHECK-LABEL: is_aligned_4
4343// CHECK: testb $3
4444// CHECK-NEXT: sete
45- // CHECK-NEXT : retq
45+ // CHECK: retq
4646#[ no_mangle]
4747pub fn is_aligned_4 ( ptr : * const u32 ) -> bool {
4848 ptr. is_aligned ( )
@@ -51,7 +51,7 @@ pub fn is_aligned_4(ptr: *const u32) -> bool {
5151// CHECK-LABEL: is_aligned_8
5252// CHECK: testb $7
5353// CHECK-NEXT: sete
54- // CHECK-NEXT : retq
54+ // CHECK: retq
5555#[ no_mangle]
5656pub fn is_aligned_8 ( ptr : * const u64 ) -> bool {
5757 ptr. is_aligned ( )
You can’t perform that action at this time.
0 commit comments