Skip to content

Commit 0279de9

Browse files
committed
Fix test checks
1 parent 77c9052 commit 0279de9

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

llvm/test/MC/RISCV/xqcibi-relocations.s

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ qc.e.bgeui x8, 12, foo
2828
.option exact
2929
qc.e.bgeui x8, 12, foo
3030
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
31-
# RELOC: R_RISCV_CUSTOM193 foo 0x0
31+
# RELOC-NEXT: R_RISCV_CUSTOM193 foo 0x0
3232
# INSTR: qc.e.bgeui s0, 12, foo
3333
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_branch
3434
.option noexact
@@ -47,6 +47,7 @@ qc.e.beqi x7, 8, .L1
4747

4848
# Check that there is only one vendor symbol created and that it is local and NOTYPE
4949
# VENDORSYM-COUNT-1: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
50+
# VENDORSYM-NOT: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
5051

5152
.L1:
5253
ret

llvm/test/MC/RISCV/xqcilb-relocations.s

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,38 @@
1414

1515
qc.e.j foo
1616
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
17-
# RELOC: R_RISCV_CUSTOM195 foo 0x0
17+
# RELOC-NEXT: R_RISCV_CUSTOM195 foo 0x0
1818
# INSTR: qc.e.j foo
1919
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_jump_plt
2020

2121
qc.e.j foo@plt
2222
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
23-
# RELOC: R_RISCV_CUSTOM195 foo 0x0
23+
# RELOC-NEXT: R_RISCV_CUSTOM195 foo 0x0
2424
# INSTR: qc.e.j foo
2525
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_jump_plt
2626

2727
qc.e.jal foo@plt
2828
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
29-
# RELOC: R_RISCV_CUSTOM195 foo 0x0
29+
# RELOC-NEXT: R_RISCV_CUSTOM195 foo 0x0
3030
# INSTR: qc.e.jal foo
3131
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_jump_plt
3232

3333
qc.e.jal foo
3434
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
35-
# RELOC: R_RISCV_CUSTOM195 foo 0x0
35+
# RELOC-NEXT: R_RISCV_CUSTOM195 foo 0x0
3636
# INSTR: qc.e.jal foo
3737
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_jump_plt
3838

3939
# Check that a label in a different section is handled similar to an undefined symbol
4040
qc.e.j .bar
4141
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
42-
# RELOC: R_RISCV_CUSTOM195 .bar 0x0
42+
# RELOC-NEXT: R_RISCV_CUSTOM195 .bar 0x0
4343
# INSTR: qc.e.j .bar
4444
# FIXUP: fixup A - offset: 0, value: .bar, kind: fixup_riscv_qc_e_jump_plt
4545

4646
qc.e.jal .bar
4747
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
48-
# RELOC: R_RISCV_CUSTOM195 .bar 0x0
48+
# RELOC-NEXT: R_RISCV_CUSTOM195 .bar 0x0
4949
# INSTR: qc.e.jal .bar
5050
# FIXUP: fixup A - offset: 0, value: .bar, kind: fixup_riscv_qc_e_jump_plt
5151

@@ -60,6 +60,7 @@ qc.e.jal .L1
6060

6161
# Check that there is only one vendor symbol created and that it is local and NOTYPE
6262
# VENDORSYM-COUNT-1: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
63+
# VENDORSYM-NOT: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
6364

6465
.L1:
6566
ret

llvm/test/MC/RISCV/xqcili-relocations.s

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414

1515
qc.li x4, %qc.abs20(foo)
1616
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
17-
# RELOC: R_RISCV_CUSTOM192 foo 0x0
17+
# RELOC-NEXT: R_RISCV_CUSTOM192 foo 0x0
1818
# INSTR: qc.li tp, %qc.abs20(foo)
1919
# FIXUP: fixup A - offset: 0, value: %qc.abs20(foo), kind: fixup_riscv_qc_abs20_u
2020

2121
qc.e.li x5, foo
2222
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
23-
# RELOC: R_RISCV_CUSTOM194 foo 0x0
23+
# RELOC-NEXT: R_RISCV_CUSTOM194 foo 0x0
2424
# INSTR: qc.e.li t0, foo
2525
# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_riscv_qc_e_32
2626

2727
# Check that a label in a different section is handled similar to an undefined symbol
2828
qc.li x9, %qc.abs20(.bar)
2929
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
30-
# RELOC: R_RISCV_CUSTOM192 .bar 0x0
30+
# RELOC-NEXT: R_RISCV_CUSTOM192 .bar 0x0
3131
# INSTR: qc.li s1, %qc.abs20(.bar)
3232
# FIXUP: fixup A - offset: 0, value: %qc.abs20(.bar), kind: fixup_riscv_qc_abs20_u
3333

3434
qc.e.li x8, .bar
3535
# RELOC: R_RISCV_VENDOR QUALCOMM 0x0
36-
# RELOC: R_RISCV_CUSTOM194 .bar 0x0
36+
# RELOC-NEXT: R_RISCV_CUSTOM194 .bar 0x0
3737
# INSTR: qc.e.li s0, .bar
3838
# FIXUP: fixup A - offset: 0, value: .bar, kind: fixup_riscv_qc_e_32
3939

@@ -48,6 +48,7 @@ qc.e.li x6, .L1
4848

4949
# Check that there is only one vendor symbol created and that it is local and NOTYPE
5050
# VENDORSYM-COUNT-1: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
51+
# VENDORSYM-NOT: 00000000 0 NOTYPE LOCAL DEFAULT 2 QUALCOMM
5152

5253
.L1:
5354
ret

0 commit comments

Comments
 (0)