Skip to content

Commit a8dc993

Browse files
committed
Address feedback
1 parent 446a427 commit a8dc993

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

llvm/test/MC/RISCV/xqcili-linker-relaxation.s

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# RUN: llvm-mc --triple=riscv32 -mattr=+relax,+experimental-xqcili \
32
# RUN: %s -filetype=obj -o - -riscv-add-build-attributes \
43
# RUN: | llvm-objdump -dr -M no-aliases - \
@@ -8,11 +7,9 @@
87
## emitting `QC.E.LI` and `QC.LI`.
98

109
.section .text.ex1, "ax", @progbits
11-
.global ex1
12-
ex1:
13-
# CHECK-LABEL: <ex1>:
10+
# CHECK-LABEL: <.text.ex1>:
1411
blez a1, .L1
15-
# CHECK-NEXT: bge zero, a1, 0x0 <ex1>
12+
# CHECK-NEXT: bge zero, a1, 0x0 <.text.ex1>
1613
# CHECK-NEXT: R_RISCV_BRANCH .L1{{$}}
1714
qc.e.li a0, sym
1815
# CHECK-NEXT: qc.e.li a0, 0x0
@@ -24,13 +21,10 @@ ex1:
2421
ret
2522
# CHECK-NEXT: c.jr ra
2623

27-
2824
.section .text.ex2, "ax", @progbits
29-
.global ex2
30-
ex2:
31-
# CHECK-LABEL: <ex2>:
25+
# CHECK-LABEL: <.text.ex2>:
3226
blez a1, .L2
33-
# CHECK-NEXT: bge zero, a1, 0x0 <ex2>
27+
# CHECK-NEXT: bge zero, a1, 0x0 <.text.ex2>
3428
# CHECK-NEXT: R_RISCV_BRANCH .L2{{$}}
3529
qc.li a0, %qc.abs20(sym)
3630
# CHECK-NEXT: qc.li a0, 0x0

0 commit comments

Comments
 (0)