[llvm] [BOLT][AArch64] Fix adr-relaxation.s test (PR #143151)

Paul Osmialowski via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 08:40:52 PDT 2025


================
@@ -37,7 +37,7 @@ foo:
   mov  x0, #0x0
 .L2:
 # CHECK-FOO: <foo.cold.0>:
-# CHECK-FOO-NEXT: adrp
----------------
pawosm-arm wrote:

> (cc: @pawosm-arm)

It has started failing for me after PR #142533 as such:

```
********************
Failed Tests (1):
  BOLT :: AArch64/adr-relaxation.s
```

Specifically:

```
bolt/test/AArch64/adr-relaxation.s:40:19: error: CHECK-FOO-NEXT: is not on the line after the previous match
# CHECK-FOO-NEXT: adrp
                  ^
<stdin>:8:19: note: 'next' match was here
 600048: 90000001 adrp x1, 0x600000 <_start>
                  ^
<stdin>:6:31: note: previous match ended here
0000000000600044 <foo.cold.0>:
                              ^
<stdin>:7:1: note: non-matching line after previous match is here
 600044: d2800000 mov x0, #0x0 // =0
^
```


https://github.com/llvm/llvm-project/pull/143151


More information about the llvm-commits mailing list