File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11// min-llvm-version: 12.0.0
22// needs-llvm-components: aarch64 x86
3- // revisions:X64 A64
3+ // revisions:x64 A64
44// 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
66// [A64] compile-flags: --target aarch64-unknown-linux-gnu -Crelocation-model=static
77
88#![ feature( no_core, lang_items) ]
@@ -22,7 +22,7 @@ extern "C" {
2222}
2323
2424// CHECK-LABEL: banana:
25- // x64: movb chaenomeles, %{{[a,z ]+}}
25+ // x64: movb chaenomeles{{(\(%[a-z0-9]+\))?}} , %{{[a-z0-9 ]+}}
2626// A64: adrp [[REG:[a-z0-9]+]], chaenomeles
2727// A64-NEXT: ldrb {{[a-z0-9]+}}, {{\[}}[[REG]], :lo12:chaenomeles]
2828#[ no_mangle]
@@ -33,7 +33,7 @@ pub fn banana() -> u8 {
3333}
3434
3535// CHECK-LABEL: peach:
36- // x64: movb banana, %{{[a,z ]+}}
36+ // x64: movb banana{{(\(%[a-z0-9]+\))?}} , %{{[a-z0-9 ]+}}
3737// A64: adrp [[REG2:[a-z0-9]+]], banana
3838// A64-NEXT: ldrb {{[a-z0-9]+}}, {{\[}}[[REG2]], :lo12:banana]
3939#[ no_mangle]
You can’t perform that action at this time.
0 commit comments