[all-commits] [llvm/llvm-project] 686ec6: [BOLT][AArch64] Fix adr-relaxation.s test (#143151)
Paschalis Mpeis via All-commits
all-commits at lists.llvm.org
Wed Jun 11 00:24:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 686ec6cfe86367c43dccd83d7e6e2bac7e6a73a0
https://github.com/llvm/llvm-project/commit/686ec6cfe86367c43dccd83d7e6e2bac7e6a73a0
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M bolt/test/AArch64/adr-relaxation.s
Log Message:
-----------
[BOLT][AArch64] Fix adr-relaxation.s test (#143151)
On some AArch64 machines the splitting was inconsistent.
This causes cold `foo` to have a `mov` instruction before adrp.
```
<foo.cold.0>:
mov x0, #0x0 // =0
adrp x1, 0x600000 <_start>
add x1, x1, #0x14
ret
```
This patch removes the `mov` instruction right above .L2, making
splitting deterministic.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list