[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / tools / llvm-ml / anonymous_labels.asm
blobe66f78c1b20fca9fec2b906860ce70f3cd1a49c0
1 ; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
3 .code
5 t1:
6 jmp @F
7 jmp @F
8 ; CHECK-LABEL: t1:
9 ; CHECK-NEXT: jmp [[TEMP1:[[:alpha:][:digit:]]+]]
10 ; CHECK-NEXT: jmp [[TEMP1]]
12 @@:
13 xor eax, eax
14 ; CHECK: [[TEMP1]]:
15 ; CHECK-NEXT: xor eax, eax
17 t2:
18 jmp @B
19 jmp @B
20 ; CHECK-LABEL: t2:
21 ; CHECK-NEXT: jmp [[TEMP1]]
22 ; CHECK-NEXT: jmp [[TEMP1]]
24 t3:
25 jmp @F
26 ; CHECK-LABEL: t3:
27 ; CHECK-NEXT: jmp [[TEMP2:[[:alpha:][:digit:]]+]]
29 @@:
30 xor eax, eax
31 ; CHECK: [[TEMP2]]:
32 ; CHECK-NEXT: xor eax, eax
34 @@:
35 xor eax, eax
36 ; CHECK: [[TEMP3:[[:alpha:][:digit:]]+]]:
37 ; CHECK-NEXT: xor eax, eax
39 t4:
40 jmp @B
41 ; CHECK-LABEL: t4:
42 ; CHECK-NEXT: jmp [[TEMP3]]