[lld] [llvm] [AArch64][PAC] Combine signing with address materialization (PR #130809)

Anatoly Trosinenko via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 11:20:32 PDT 2025


atrosinenko wrote:

Turned out, this PR crashes `MultiSource/Benchmarks/Ptrdist/ks/ks` test from llvm-test-suite because I specified `LOADgotAUTH` as `hasSideEffects = 0` to make DCE able to remove it if needed, but then MachineLICM moved `LOADgotAUTH` like this:
```
    renamable $x16 = COPY renamable $x12
    renamable $x20 = LOADgotAUTH target-flags(aarch64-got) @cost, implicit-def dead $x16, implicit-def dead $x17, implicit-def dead $nzcv
    B %bb.4
```
This patch seems to fix the issue: https://github.com/atrosinenko/llvm-project/commit/ca1b92ff7ffc790976ac8029c85a74e6242ba621.

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


More information about the llvm-commits mailing list