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

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 07:58:52 PDT 2025


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

Hey Maksim,

was there a reason PR #142533 replaced `CHECK-FOO` with `CHECK-FOO-NEXT` (see [line 42 here](https://github.com/llvm/llvm-project/pull/142533/files#diff-c1ce2d41c4896cb7dbddc767e6d69ec7b9b2ba6c8b67417df9d73fd52ec96b07L42))?

On some internal machines, we got a mov instruction right after the label, causing this test to fail. On my machines, including the BOLT buildbot I haven't noticed this. I haven't looked this any deeper, just making you aware.

(cc: @pawosm-arm)

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


More information about the llvm-commits mailing list