File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
// min-llvm-version: 12.0.0
2
2
// needs-llvm-components: aarch64 x86
3
- // revisions:X64 A64
3
+ // revisions:x64 A64
4
4
// assembly-output: emit-asm
5
- // [X64 ] compile-flags: --target x86_64-unknown-linux-gnu -Crelocation-model=static
5
+ // [x64 ] compile-flags: --target x86_64-unknown-linux-gnu -Crelocation-model=static
6
6
// [A64] compile-flags: --target aarch64-unknown-linux-gnu -Crelocation-model=static
7
7
8
8
#![ feature( no_core, lang_items) ]
@@ -22,7 +22,7 @@ extern "C" {
22
22
}
23
23
24
24
// CHECK-LABEL: banana:
25
- // x64: movb chaenomeles, %{{[a,z ]+}}
25
+ // x64: movb chaenomeles{{(\(%[a-z0-9]+\))?}} , %{{[a-z0-9 ]+}}
26
26
// A64: adrp [[REG:[a-z0-9]+]], chaenomeles
27
27
// A64-NEXT: ldrb {{[a-z0-9]+}}, {{\[}}[[REG]], :lo12:chaenomeles]
28
28
#[ no_mangle]
@@ -33,7 +33,7 @@ pub fn banana() -> u8 {
33
33
}
34
34
35
35
// CHECK-LABEL: peach:
36
- // x64: movb banana, %{{[a,z ]+}}
36
+ // x64: movb banana{{(\(%[a-z0-9]+\))?}} , %{{[a-z0-9 ]+}}
37
37
// A64: adrp [[REG2:[a-z0-9]+]], banana
38
38
// A64-NEXT: ldrb {{[a-z0-9]+}}, {{\[}}[[REG2]], :lo12:banana]
39
39
#[ no_mangle]
You can’t perform that action at this time.
0 commit comments