[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git] / llvm / test / tools / llvm-ml / variable_redef.asm
blobf21f8f7eb0f3450a0010a818e0a605a33353a264
1 ; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
3 .data
5 ; <var> = <expression> can be redefined at any time.
6 assigned_number = 1
7 t1_original BYTE assigned_number
8 assigned_number = 1
9 t1_reset BYTE assigned_number
10 assigned_number = 2
11 t1_changed BYTE assigned_number
13 ; CHECK-LABEL: t1_original:
14 ; CHECK-NEXT: .byte 1
16 ; CHECK-LABEL: t1_reset:
17 ; CHECK-NEXT: .byte 1
19 ; CHECK-LABEL: t1_changed:
20 ; CHECK-NEXT: .byte 2
22 ; <var> EQU <expression> can be redundantly set, but can't be changed.
23 equated_number equ 3
24 t2_original BYTE equated_number
25 equated_number equ 3
26 t2_reset BYTE equated_number
28 ; CHECK-LABEL: t2_original:
29 ; CHECK-NEXT: .byte 3
31 ; CHECK-LABEL: t2_reset:
32 ; CHECK-NEXT: .byte 3
34 ; <var> EQU <text> can be redefined at any time.
35 equated_text equ <4, 5>
36 t3_original BYTE equated_text
37 equated_text equ <4, 5>
38 t3_reset BYTE equated_text
39 equated_text equ <5, 6>
40 t3_changed BYTE equated_text
42 ; CHECK-LABEL: t3_original:
43 ; CHECK-NEXT: .byte 4
44 ; CHECK-NEXT: .byte 5
46 ; CHECK-LABEL: t3_reset:
47 ; CHECK-NEXT: .byte 4
48 ; CHECK-NEXT: .byte 5
50 ; CHECK-LABEL: t3_changed:
51 ; CHECK-NEXT: .byte 5
52 ; CHECK-NEXT: .byte 6
54 ; <var> TEXTEQU <text> can be redefined at any time.
55 textequated_text textequ <7, 8>
56 t4_original BYTE textequated_text
57 textequated_text textequ <7, 8>
58 t4_reset BYTE textequated_text
59 textequated_text textequ <9, 10>
60 t4_changed BYTE textequated_text
62 ; CHECK-LABEL: t4_original:
63 ; CHECK-NEXT: .byte 7
64 ; CHECK-NEXT: .byte 8
66 ; CHECK-LABEL: t4_reset:
67 ; CHECK-NEXT: .byte 7
68 ; CHECK-NEXT: .byte 8
70 ; CHECK-LABEL: t4_changed:
71 ; CHECK-NEXT: .byte 9
72 ; CHECK-NEXT: .byte 10
74 .code
76 end